MessageEncoderFactory.Encoder Property
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.
When overridden in a derived class, gets the message encoder that is produced by the factory.
public:
abstract property System::ServiceModel::Channels::MessageEncoder ^ Encoder { System::ServiceModel::Channels::MessageEncoder ^ get(); };
public abstract System.ServiceModel.Channels.MessageEncoder Encoder { get; }
member this.Encoder : System.ServiceModel.Channels.MessageEncoder
Public MustOverride ReadOnly Property Encoder As MessageEncoder
Property Value
The MessageEncoder used by the factory.
Examples
The following code illustrates how to implement the Encoder property:
public override MessageEncoder Encoder
{
get
{
return this.encoder;
}
}
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.