編輯

共用方式為


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();
public NetHttpsBinding ();
Public Sub New ()

Applies to

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);
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

NetHttpsBinding(String)

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

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);
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