PollingDuplexHttpBinding.TextEncoding Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets or sets the character encoding that is used for the message text.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel.PollingDuplex (in System.ServiceModel.PollingDuplex.dll)

Syntax

'Declaration
Public Property TextEncoding As Encoding
public Encoding TextEncoding { get; set; }

Property Value

Type: System.Text.Encoding
The Encoding that indicates the character encoding that is used. The default is UTF8Encoding.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.