NetHttpsBinding Constructors
Definition
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.
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();
public NetHttpsBinding ();
Public Sub New ()
Applies to
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);
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
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
.