NetTcpContextBindingElement Constructors

Definition

Initializes a new instance of the NetTcpContextBindingElement class.

Overloads

NetTcpContextBindingElement()

Initializes a new instance of the NetTcpContextBindingElement class.

NetTcpContextBindingElement(String)

Initializes a new instance of the NetTcpContextBindingElement class with the specified configuration name.

NetTcpContextBindingElement()

Initializes a new instance of the NetTcpContextBindingElement class.

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

Applies to

NetTcpContextBindingElement(String)

Initializes a new instance of the NetTcpContextBindingElement class with the specified configuration name.

public:
 NetTcpContextBindingElement(System::String ^ name);
public NetTcpContextBindingElement (string name);
new System.ServiceModel.Configuration.NetTcpContextBindingElement : string -> System.ServiceModel.Configuration.NetTcpContextBindingElement
Public Sub New (name As String)

Parameters

name
String

The configuration name of the binding. The value should be unique because it is used as identification for the binding.

Exceptions

name is null.

A configuration element with the specified name does not exist.

Applies to