Bewerken

Delen via


WSHttpBindingBaseElement.MessageEncoding Property

Definition

Gets or sets the encoder used to encode the message.

public:
 property System::ServiceModel::WSMessageEncoding MessageEncoding { System::ServiceModel::WSMessageEncoding get(); void set(System::ServiceModel::WSMessageEncoding value); };
[System.Configuration.ConfigurationProperty("messageEncoding", DefaultValue=System.ServiceModel.WSMessageEncoding.Text)]
public System.ServiceModel.WSMessageEncoding MessageEncoding { get; set; }
[<System.Configuration.ConfigurationProperty("messageEncoding", DefaultValue=System.ServiceModel.WSMessageEncoding.Text)>]
member this.MessageEncoding : System.ServiceModel.WSMessageEncoding with get, set
Public Property MessageEncoding As WSMessageEncoding

Property Value

A WSMessageEncoding value that specifies the encoder used to encode the message. The default value is Text.

Attributes

Applies to