你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HttpExtensions.AsFormattedString 方法

定义

重载

AsFormattedString(HttpRequestMessage)
AsFormattedString(HttpResponseMessage)
AsFormattedString<TKey,TValue>(IDictionary<TKey,TValue>)

AsFormattedString(HttpRequestMessage)

public static string AsFormattedString (this System.Net.Http.HttpRequestMessage httpRequest);
static member AsFormattedString : System.Net.Http.HttpRequestMessage -> string
<Extension()>
Public Function AsFormattedString (httpRequest As HttpRequestMessage) As String

参数

httpRequest
HttpRequestMessage

返回

适用于

AsFormattedString(HttpResponseMessage)

public static string AsFormattedString (this System.Net.Http.HttpResponseMessage httpResponse);
static member AsFormattedString : System.Net.Http.HttpResponseMessage -> string
<Extension()>
Public Function AsFormattedString (httpResponse As HttpResponseMessage) As String

参数

httpResponse
HttpResponseMessage

返回

适用于

AsFormattedString<TKey,TValue>(IDictionary<TKey,TValue>)

public static string AsFormattedString<TKey,TValue> (this System.Collections.Generic.IDictionary<TKey,TValue> dictionary);
static member AsFormattedString : System.Collections.Generic.IDictionary<'Key, 'Value> -> string
<Extension()>
Public Function AsFormattedString(Of TKey, TValue) (dictionary As IDictionary(Of TKey, TValue)) As String

类型参数

TKey
TValue

参数

dictionary
IDictionary<TKey,TValue>

返回

适用于