NetTcpBinding Constructor (String)

 

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

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

public NetTcpBinding(
	string configurationName
)

Parameters

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");

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: