Compartir a través de


MessageExtensionMethods.ToHttpRequestMessage(Message) Método

Definición

Crea una instancia de HttpRequestMessage a partir de una instancia de Message.

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

Parámetros

message
Message

Instancia de Message a partir de la que se obtiene la instancia HttpRequestMessage.

Devoluciones

Instancia de HttpRequestMessage.

Se aplica a