Share via


CloudTracingExtensions.AsFormattedString Method (HttpRequestMessage)

Returns string representation of a HttpRequestMessage.

Namespace: Microsoft.WindowsAzure.Common
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim httpRequest As HttpRequestMessage
Dim returnValue As String

returnValue = CloudTracingExtensions.AsFormattedString(httpRequest)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function AsFormattedString ( _
    httpRequest As HttpRequestMessage _
) As String
[ExtensionAttribute] 
public static string AsFormattedString (
    HttpRequestMessage httpRequest
)
[ExtensionAttribute] 
public:
static String^ AsFormattedString (
    HttpRequestMessage^ httpRequest
)
/** @attribute ExtensionAttribute() */ 
public static String AsFormattedString (
    HttpRequestMessage httpRequest
)
ExtensionAttribute 
public static function AsFormattedString (
    httpRequest : HttpRequestMessage
) : String

Parameters

  • httpRequest
    Request 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