NetHttpsBinding Constructor (BasicHttpsSecurityMode, Boolean)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

new : 
        securityMode:BasicHttpsSecurityMode *
        reliableSessionEnabled:bool -> NetHttpsBinding

Parameters

securityMode
Type: System.ServiceModel.BasicHttpsSecurityMode

The type of security used with the binding.

reliableSessionEnabled
Type: System.Boolean

True if reliable sessions are enabled; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: