MessageEncoderFactory.CreateSessionEncoder Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.