CreateSessionEncoder Method
Collapse the table of content
Expand the table of content

MessageEncoderFactory.CreateSessionEncoder Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft