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.

NetTcpContextBinding Constructor (SecurityMode, Boolean)

 

Initializes a new instance of the NetTcpContextBinding class with the specified SecurityMode and reliable session setting.

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

public:
NetTcpContextBinding(
	SecurityMode securityMode,
	bool reliableSessionEnabled
)

Parameters

securityMode
Type: System.ServiceModel::SecurityMode

The security mode.

reliableSessionEnabled
Type: System::Boolean

true to enable reliable sessions; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show:
© 2017 Microsoft