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
Source:
NetHttpsBinding.cs

Initializes a new instance of the NetHttpsBinding class.

public NetHttpsBinding ();

Applies to

.NET 8 (package-provided) og andre versjoner
Produkt Versjoner
.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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

NetHttpsBinding(BasicHttpsSecurityMode)

Source:
NetHttpsBinding.cs
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) og andre versjoner
Produkt Versjoner
.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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

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 og andre versjoner
Produkt Versjoner
.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
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) og andre versjoner
Produkt Versjoner
.NET 8 (package-provided)
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)