Modifica

Condividi tramite


BasicHttpBindingElement.MessageEncoding Property

Definition

Gets or sets whether MTOM or text/XML is used to encode SOAP messages.

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

The value of WSMessageEncoding that indicates that MTOM or text/XML is used to encode SOAP messages. The default value is Text.

Attributes

Applies to