HttpExtensions.AsString Method (HttpContent)
Gets the HTTP message content as a string.
Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public static string AsString(
this HttpContent content
)
public:
[ExtensionAttribute]
static String^ AsString(
HttpContent^ content
)
static member AsString :
content:HttpContent -> string
<ExtensionAttribute>
Public Shared Function AsString (
content As HttpContent
) As String
Parameters
content
Type: System.Net.Http.HttpContentThe HTTP content.
Return Value
Type: System.String
The HTTP message content as a string.
See Also
AsString Overload
HttpExtensions Class
Microsoft.WindowsAzure.Common.Internals Namespace
Return to top