MessageExtensionMethods.ToHttpResponseMessage Method (Message)

.NET Framework (current version)
 

Creates a HttpResponseMessage instance from an Message instance.

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

public static HttpResponseMessage ToHttpResponseMessage(
	this Message message
)

Parameters

message
Type: System.ServiceModel.Channels.Message

The Message instance from which to get the HttpResponseMessage instance.

.NET Framework
Available since 4.5
Return to top
Show: