This documentation is archived and is not being maintained.

SoapHeaderFaultBinding.Encoding Property

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

[Visual Basic]
Public Property Encoding As String
[C#]
public string Encoding {get; set;}
[C++]
public: __property String* get_Encoding();
public: __property void set_Encoding(String*);
[JScript]
public function get Encoding() : String;
public function set Encoding(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.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

SoapHeaderFaultBinding Class | SoapHeaderFaultBinding Members | System.Web.Services.Description Namespace

Show: