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