CloudTracingExtensions.AsFormattedString Method (HttpResponseMessage)
Returns string representation of a HttpResponseMessage.
Namespace: Microsoft.WindowsAzure.Common
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Usage
'Usage
Dim httpResponse As HttpResponseMessage
Dim returnValue As String
returnValue = CloudTracingExtensions.AsFormattedString(httpResponse)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function AsFormattedString ( _
httpResponse As HttpResponseMessage _
) As String
[ExtensionAttribute]
public static string AsFormattedString (
HttpResponseMessage httpResponse
)
[ExtensionAttribute]
public:
static String^ AsFormattedString (
HttpResponseMessage^ httpResponse
)
/** @attribute ExtensionAttribute() */
public static String AsFormattedString (
HttpResponseMessage httpResponse
)
ExtensionAttribute
public static function AsFormattedString (
httpResponse : HttpResponseMessage
) : String
Parameters
- httpResponse
Response to format.
Return Value
Formatted string.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
CloudTracingExtensions Class
CloudTracingExtensions Members
Microsoft.WindowsAzure.Common Namespace