An abstract base class that represents the factory for producing message encoders that can read messages from a stream and write them to a stream for various types of message encoding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Thetype exposes the following members.
|CreateSessionEncoder||Returns a message encoder that can be used to correlate messages in session-based exchanges.|
|Equals(Object)||Determines whether the specified Object is equal to the current Object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Encoding is the process of transforming a message into a sequence of bytes. Decoding is the reverse process.
Use this class if you want to implement a custom message encoder. To implement your own custom message encoder, you must provide custom implementations of the following three abstract base classes:
Override the Encoder to return an instance of your custom MessageEncoder. Then wire up your custom to the binding element stack used to configure the service or client by overriding the CreateMessageEncoderFactory method to return an instance of this factory.
For more information aboutcustom encoders, see Custom Encoders.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.