Sdílet prostřednictvím


MessageExtensionMethods.ToHttpRequestMessage(Message) Metoda

Definice

Vytvoří HttpRequestMessage instanci z Message instance.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Net::Http::HttpRequestMessage ^ ToHttpRequestMessage(System::ServiceModel::Channels::Message ^ message);
public static System.Net.Http.HttpRequestMessage ToHttpRequestMessage (this System.ServiceModel.Channels.Message message);
static member ToHttpRequestMessage : System.ServiceModel.Channels.Message -> System.Net.Http.HttpRequestMessage
<Extension()>
Public Function ToHttpRequestMessage (message As Message) As HttpRequestMessage

Parametry

message
Message

Instance Message , ze které chcete instanci získat HttpRequestMessage .

Návraty

Instance HttpRequestMessage.

Platí pro