Return a StringContent from async
<p>How do I return a <code>StringContent</code> from async? Do I still need to return it as a task? Below is the sample code that I am using:</p>

<pre><code>public async Task&lt;HttpResponseMessage&gt; GetOrder(string url)
{
    xml = "&lt;result&gt;&lt;success&gt; True &lt;/success&gt;&lt;message&gt;&lt;/result&gt;";

    responseMessage = await httpContent;
    return new  HttpResponseMessage()
    {
        Content = new StringContent(xml, Encoding.UTF8, "application/xml")
    };    
}
</code></pre>