PollingDuplexHttpBinding.UseTextEncoding Property

Silverlight

Gets or sets a value that indicates whether text or binary encoding is used for the message.

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

public bool UseTextEncoding { get; set; }

Property Value

Type: System.Boolean
true if text encoding is used; false if binary encoding is used.

If text encoding is used, the TextMessageEncodingBindingElement is used in the binding element stack. If binary encoding is used, the BinaryMessageEncodingBindingElement is used in the binding element stack.

Silverlight

Supported in: 5, 4, 3

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

Community Additions

ADD
Show: