Export (0) Print
Expand All

NetTcpContextBindingElement Constructor (String)

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

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

public NetTcpContextBindingElement(
	string name
)

Parameters

name
Type: System.String

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

ExceptionCondition
ArgumentNullException

name is null.

KeyNotFoundException

A configuration element with the specified name does not exist.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft