NetHttpsBinding Constructors

Definition

Initializes a new instance of the NetHttpsBinding class.

Overloads

NetHttpsBinding()

Initializes a new instance of the NetHttpsBinding class.

NetHttpsBinding(BasicHttpsSecurityMode)

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

NetHttpsBinding(String)

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

NetHttpsBinding(BasicHttpsSecurityMode, Boolean)

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.

NetHttpsBinding()

Source:
NetHttpsBinding.cs

Initializes a new instance of the NetHttpsBinding class.

public NetHttpsBinding ();

Applies to

.NET 8 (package-provided) and other versions
Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

NetHttpsBinding(BasicHttpsSecurityMode)

Source:
NetHttpsBinding.cs

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

public NetHttpsBinding (System.ServiceModel.BasicHttpsSecurityMode securityMode);

Parameters

securityMode
BasicHttpsSecurityMode

The type of security used with the binding.

Applies to

.NET 8 (package-provided) and other versions
Product Versions
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

NetHttpsBinding(String)

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

public NetHttpsBinding (string configurationName);

Parameters

configurationName
String

The binding configuration name.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

NetHttpsBinding(BasicHttpsSecurityMode, Boolean)

Source:
NetHttpsBinding.cs

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.

public NetHttpsBinding (System.ServiceModel.BasicHttpsSecurityMode securityMode, bool reliableSessionEnabled);

Parameters

securityMode
BasicHttpsSecurityMode

The type of security used with the binding.

reliableSessionEnabled
Boolean

true if reliable sessions are enabled; otherwise, false.

Applies to

.NET 8 (package-provided) and other versions
Product Versions
.NET 8 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1