SoapMessage::ContentEncoding Property
.NET Framework (current version)
Gets or sets the contents of the Content-Encoding HTTP header.
Assembly: System.Web.Services (in System.Web.Services.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The current SoapMessageStage is AfterSerialize or AfterDeserialize stages. |
A SOAP extension can set the ContentEncoding property to provide supplementary information about the encoding of a SOAP message without changing the media type as expressed in the Content-Type HTTP header.
.NET Framework
Available since 1.1
Available since 1.1
Show: