共用方式為


CloudTracingExtensions.AsFormattedString方法(HttpResponseMessage)

Returns string representation of a HttpResponseMessage.

命名空間: Microsoft.WindowsAzure.Common
組件: Microsoft.WindowsAzure.Common (於 Microsoft.WindowsAzure.Common.dll)

使用方式

'用途
Dim httpResponse As HttpResponseMessage
Dim returnValue As String

returnValue = CloudTracingExtensions.AsFormattedString(httpResponse)

語法

'宣告
<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

參數

  • httpResponse
    Response to format.

傳回值

Formatted string.

執行緒安全性

這種類型的任何公用靜態 (在 Visual Basic 中的 Shared) 成員都屬於安全執行緒。不保證任何執行個體成員安全執行緒。

平台

開發平台

Windows Vista、Windows 7 和 Windows Server 2008

目標平台

另請參閱

參考

CloudTracingExtensions類別
CloudTracingExtensions成員
Microsoft.WindowsAzure.Common命名空間