MessageEncodingBindingElement MessageEncodingBindingElement MessageEncodingBindingElement MessageEncodingBindingElement Constructors

Definition

Overloads

MessageEncodingBindingElement() MessageEncodingBindingElement() MessageEncodingBindingElement()

Initializes a new instance of the MessageEncodingBindingElement class.

MessageEncodingBindingElement(MessageEncodingBindingElement) MessageEncodingBindingElement(MessageEncodingBindingElement) MessageEncodingBindingElement(MessageEncodingBindingElement) MessageEncodingBindingElement(MessageEncodingBindingElement)

Initializes a new instance of the MessageEncodingBindingElement class initialized from an existing element.

MessageEncodingBindingElement() MessageEncodingBindingElement() MessageEncodingBindingElement()

Initializes a new instance of the MessageEncodingBindingElement class.

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

MessageEncodingBindingElement(MessageEncodingBindingElement) MessageEncodingBindingElement(MessageEncodingBindingElement) MessageEncodingBindingElement(MessageEncodingBindingElement) MessageEncodingBindingElement(MessageEncodingBindingElement)

Initializes a new instance of the MessageEncodingBindingElement class initialized from an existing element.

public:
 MessageEncodingBindingElement(System::ServiceModel::Channels::MessageEncodingBindingElement ^ elementToBeCloned);
public MessageEncodingBindingElement (System.ServiceModel.Channels.MessageEncodingBindingElement elementToBeCloned);
new System.ServiceModel.Channels.MessageEncodingBindingElement : System.ServiceModel.Channels.MessageEncodingBindingElement -> System.ServiceModel.Channels.MessageEncodingBindingElement
Public Sub New (elementToBeCloned As MessageEncodingBindingElement)

Parameters

Examples

The following code illustrates how to implement this constructor:

CustomTextMessageBindingElement(CustomTextMessageBindingElement binding)
    : this(binding.Encoding, binding.MediaType, binding.MessageVersion)
{
    this.readerQuotas = new XmlDictionaryReaderQuotas();
    binding.ReaderQuotas.CopyTo(this.readerQuotas);
}

Applies to