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
Работете съвместно с нас в GitHub
Източникът за това съдържание може да бъде намерен в GitHub, където можете също да създавате и преглеждате проблеми и да изтегляте искания. За повече информация вижте нашето ръководство за сътрудник.