MessageExtensionMethods.ToHttpRequestMessage Method (Message)

.NET Framework (current version)
 

Creates a HttpRequestMessage instance from an Message instance.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel.Channels (in System.ServiceModel.Channels.dll)

public static HttpRequestMessage ToHttpRequestMessage(
	this Message message
)

Parameters

message
Type: System.ServiceModel.Channels.Message

The Message instance from which to get the HttpRequestMessage instance.

.NET Framework
Available since 4.5
Return to top
Show: