Редактиране

Споделяне чрез


MessageEncoderFactory.Encoder Property

Definition

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