TextMessageEncodingBindingElement TextMessageEncodingBindingElement TextMessageEncodingBindingElement TextMessageEncodingBindingElement Constructors

Definition

Overloads

TextMessageEncodingBindingElement() TextMessageEncodingBindingElement() TextMessageEncodingBindingElement()

Initializes a new instance of the TextMessageEncodingBindingElement class.

TextMessageEncodingBindingElement(MessageVersion, Encoding) TextMessageEncodingBindingElement(MessageVersion, Encoding) TextMessageEncodingBindingElement(MessageVersion, Encoding)

Initializes a new instance of the TextMessageEncodingBindingElement class with a specified message version and encoding.

TextMessageEncodingBindingElement() TextMessageEncodingBindingElement() TextMessageEncodingBindingElement()

Initializes a new instance of the TextMessageEncodingBindingElement class.

public:
 TextMessageEncodingBindingElement();
public TextMessageEncodingBindingElement ();
Public Sub New ()

Remarks

The default MessageVersion for this constructor is the version of WS-Addressing 1.0 and SOAP 1.2. The default text encoding is the UTF-8 format.

TextMessageEncodingBindingElement(MessageVersion, Encoding) TextMessageEncodingBindingElement(MessageVersion, Encoding) TextMessageEncodingBindingElement(MessageVersion, Encoding)

Initializes a new instance of the TextMessageEncodingBindingElement class with a specified message version and encoding.

public:
 TextMessageEncodingBindingElement(System::ServiceModel::Channels::MessageVersion ^ messageVersion, System::Text::Encoding ^ writeEncoding);
public TextMessageEncodingBindingElement (System.ServiceModel.Channels.MessageVersion messageVersion, System.Text.Encoding writeEncoding);
new System.ServiceModel.Channels.TextMessageEncodingBindingElement : System.ServiceModel.Channels.MessageVersion * System.Text.Encoding -> System.ServiceModel.Channels.TextMessageEncodingBindingElement

Parameters

messageVersion
MessageVersion MessageVersion MessageVersion MessageVersion

The MessageVersion that is used for the message version.

writeEncoding
Encoding Encoding Encoding Encoding

The Encoding that is used to format the message characters.

Exceptions

Applies to