NetHttpsBinding Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the NetHttpsBinding class.
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. |
- Source:
- NetHttpsBinding.cs
- Source:
- NetHttpsBinding.cs
Initializes a new instance of the NetHttpsBinding class.
public:
NetHttpsBinding();
public NetHttpsBinding ();
Public Sub New ()
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) |
- 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);
public NetHttpsBinding (System.ServiceModel.BasicHttpsSecurityMode securityMode);
new System.ServiceModel.NetHttpsBinding : System.ServiceModel.BasicHttpsSecurityMode -> System.ServiceModel.NetHttpsBinding
Public Sub New (securityMode As BasicHttpsSecurityMode)
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) |
Initializes a new instance of the NetHttpsBinding class with a specified configuration name.
public:
NetHttpsBinding(System::String ^ configurationName);
public NetHttpsBinding (string configurationName);
new System.ServiceModel.NetHttpsBinding : string -> System.ServiceModel.NetHttpsBinding
Public Sub New (configurationName As String)
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 |
- 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);
public NetHttpsBinding (System.ServiceModel.BasicHttpsSecurityMode securityMode, bool reliableSessionEnabled);
new System.ServiceModel.NetHttpsBinding : System.ServiceModel.BasicHttpsSecurityMode * bool -> System.ServiceModel.NetHttpsBinding
Public Sub New (securityMode As BasicHttpsSecurityMode, reliableSessionEnabled As Boolean)
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) |
.NET-tilbakemelding
.NET er et åpen kilde-prosjekt. Velg en kobling for å gi tilbakemelding: