Export (0) Print
Expand All

SoapMessage.ContentEncoding Property

Gets or sets the contents of the Content-Encoding HTTP header.

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

public string ContentEncoding { get; set; }

Property Value

Type: System.String
The contents of the Content-Encoding HTTP header.

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

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