FromMessage Method
Collapse the table of content
Expand the table of content

TypedMessageConverter.FromMessage Method (Message)

 

Creates a typed message from the specified Message instance.

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

public abstract object FromMessage(
	Message message
)

Parameters

message
Type: System.ServiceModel.Channels.Message

An untyped message.

Return Value

Type: System.Object

An object that is a typed message.

This method takes an untyped Windows Communication Foundation (WCF) message, that is, an instance of Message, and converts it into a typed message, that is, an instance of a type that is annotated by the MessageContractAttribute.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft