SoapHeaderBinding.Encoding Property


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

Namespace:   System.Web.Services.Description
Assembly:  System.Web.Services (in System.Web.Services.dll)

public string Encoding { get; set; }

Property Value

Type: System.String

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

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.

.NET Framework
Available since 1.1
Return to top