MessageEncoderFactory.CreateSessionEncoder Method

Returns a message encoder that can be used to correlate messages in session-based exchanges.

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

public virtual MessageEncoder CreateSessionEncoder()

Return Value

Type: System.ServiceModel.Channels.MessageEncoder
The MessageEncoder that is used in session-based exchanges of messages.

A session-based message encoder can keep track the individual messages that form part of a conversation that consists of all the messages exchanged between two endpoints that are part of a session.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions