SoapHeaderBinding.Encoding Property

Definition

Gets or sets a URI representing the encoding style used to encode the SOAP header.

public:
 property System::String ^ Encoding { System::String ^ get(); void set(System::String ^ value); };
public string Encoding { get; set; }
member this.Encoding : string with get, set
Public Property Encoding As String

Property Value

A string containing a URI. The default value is an empty string ("").

Remarks

The value of this property should be set only if the value of the Use property is Encoded. Otherwise the XML Web service will exhibit unexpected behavior.

Applies to