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 (SecurityMode)
.NET Framework (current version)
Initializes a new instance of the NetTcpBinding class with the type of security used specified.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- securityMode
-
Type:
System.ServiceModel::SecurityMode
The SecurityMode value that specifies the type of security used with the binding.
Use this constructor when you want to configure the security. If you want to configure security and enable reliable sessions, use NetTcpBinding::NetTcpBinding(SecurityMode, Boolean).
This example shows how to create a NetTcpBinding using the security mode parameter.
NetTcpBinding bSecurity = new NetTcpBinding(SecurityMode.Transport);
Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: