Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

NetTcpBinding Constructor

 

Initializes a new instance of the NetTcpBinding class.

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

NameDescription
System_CAPS_pubmethodNetTcpBinding()

Initializes a new instance of the NetTcpBinding class.

System_CAPS_pubmethodNetTcpBinding(SecurityMode)

Initializes a new instance of the NetTcpBinding class with the type of security used specified.

System_CAPS_pubmethodNetTcpBinding(SecurityMode, Boolean)

Initializes a new instance of the NetTcpBinding class with the type of security used specified and with a value that indicates whether reliable sessions are explicitly enabled.

System_CAPS_pubmethodNetTcpBinding(String^)

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

The security behavior is configurable using the optional securityMode parameter in the constructor. The use of WS-ReliableMessaging is configurable using the optional reliableSessionEnabled parameter.

Return to top
Show:
© 2017 Microsoft