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.

C#
public NetTcpContextBindingElement();

Applies to

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

NetTcpContextBindingElement(String)

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

C#
public NetTcpContextBindingElement(string name);

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

.NET Framework 4.8.1 e altre versioni
Prodotto Versioni
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1