Export (0) Print
Expand All

NetTcpBinding Constructor (String)

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

Namespace:  System.ServiceModel
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.NetTcp (in System.ServiceModel.NetTcp.dll)

public NetTcpBinding(
	string configurationName


Type: System.String

The binding configuration name for the NetTcpBinding.

Use this constructor when you want to initialize the binding settings from configuration.

This example shows how to create a NetTcpBinding using the configurationName parameter.

	    NetTcpBinding bConfigurationName = new NetTcpBinding("MyConfiguration");

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft