Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Encoding Property

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft