編集

次の方法で共有


NetHttpBinding Constructors

Definition

Initializes a new instance of the NetHttpBinding class.

Overloads

NetHttpBinding()

Initializes a new instance of the NetHttpBinding class.

NetHttpBinding(BasicHttpSecurityMode)

Initializes a new instance of the NetHttpBinding class with the specified security mode.

NetHttpBinding(String)

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

NetHttpBinding(BasicHttpSecurityMode, Boolean)

Initializes a new instance of the NetHttpBinding class with the specified security mode.

NetHttpBinding()

Source:
NetHttpBinding.cs
Source:
NetHttpBinding.cs
Source:
NetHttpBinding.cs

Initializes a new instance of the NetHttpBinding class.

public:
 NetHttpBinding();
public NetHttpBinding ();
Public Sub New ()

Applies to

NetHttpBinding(BasicHttpSecurityMode)

Source:
NetHttpBinding.cs
Source:
NetHttpBinding.cs
Source:
NetHttpBinding.cs

Initializes a new instance of the NetHttpBinding class with the specified security mode.

public:
 NetHttpBinding(System::ServiceModel::BasicHttpSecurityMode securityMode);
public NetHttpBinding (System.ServiceModel.BasicHttpSecurityMode securityMode);
new System.ServiceModel.NetHttpBinding : System.ServiceModel.BasicHttpSecurityMode -> System.ServiceModel.NetHttpBinding
Public Sub New (securityMode As BasicHttpSecurityMode)

Parameters

securityMode
BasicHttpSecurityMode

The mode of the security.

Applies to

NetHttpBinding(String)

Source:
NetHttpBinding.cs
Source:
NetHttpBinding.cs

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

public:
 NetHttpBinding(System::String ^ configurationName);
public NetHttpBinding (string configurationName);
new System.ServiceModel.NetHttpBinding : string -> System.ServiceModel.NetHttpBinding
Public Sub New (configurationName As String)

Parameters

configurationName
String

The name of the configuration.

Applies to

NetHttpBinding(BasicHttpSecurityMode, Boolean)

Source:
NetHttpBinding.cs
Source:
NetHttpBinding.cs
Source:
NetHttpBinding.cs

Initializes a new instance of the NetHttpBinding class with the specified security mode.

public:
 NetHttpBinding(System::ServiceModel::BasicHttpSecurityMode securityMode, bool reliableSessionEnabled);
public NetHttpBinding (System.ServiceModel.BasicHttpSecurityMode securityMode, bool reliableSessionEnabled);
new System.ServiceModel.NetHttpBinding : System.ServiceModel.BasicHttpSecurityMode * bool -> System.ServiceModel.NetHttpBinding
Public Sub New (securityMode As BasicHttpSecurityMode, reliableSessionEnabled As Boolean)

Parameters

securityMode
BasicHttpSecurityMode

The mode of the security.

reliableSessionEnabled
Boolean

true to indicate that the reliable session was enabled; otherwise, false.

Applies to