Udostępnij za pośrednictwem


HttpExtensions.AsFormattedString Method

Definition

Overloads

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

Parameters

httpRequest
HttpRequestMessage

Returns

Applies to

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

Parameters

httpResponse
HttpResponseMessage

Returns

Applies to

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

Type Parameters

TKey
TValue

Parameters

dictionary
IDictionary<TKey,TValue>

Returns

Applies to