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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.