Muokkaa

Jaa


MessageEncoderFactory.CreateSessionEncoder Method

Definition

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

public:
 virtual System::ServiceModel::Channels::MessageEncoder ^ CreateSessionEncoder();
public virtual System.ServiceModel.Channels.MessageEncoder CreateSessionEncoder ();
abstract member CreateSessionEncoder : unit -> System.ServiceModel.Channels.MessageEncoder
override this.CreateSessionEncoder : unit -> System.ServiceModel.Channels.MessageEncoder
Public Overridable Function CreateSessionEncoder () As MessageEncoder

Returns

The MessageEncoder that is used in session-based exchanges of messages.

Remarks

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.

Applies to