NetHttpBinding NetHttpBinding NetHttpBinding NetHttpBinding Constructors

定义

重载

NetHttpBinding() NetHttpBinding() NetHttpBinding()

初始化 NetHttpBinding 类的新实例。Initializes a new instance of the NetHttpBinding class.

NetHttpBinding(BasicHttpSecurityMode) NetHttpBinding(BasicHttpSecurityMode) NetHttpBinding(BasicHttpSecurityMode) NetHttpBinding(BasicHttpSecurityMode)

使用指定的安全模式初始化 NetHttpBinding 类的新实例。Initializes a new instance of the NetHttpBinding class with the specified security mode.

NetHttpBinding(String) NetHttpBinding(String) NetHttpBinding(String) NetHttpBinding(String)

使用指定的配置名称初始化 NetHttpBinding 类的新实例。Initializes a new instance of the NetHttpBinding class with the specified configuration name.

NetHttpBinding(BasicHttpSecurityMode, Boolean) NetHttpBinding(BasicHttpSecurityMode, Boolean) NetHttpBinding(BasicHttpSecurityMode, Boolean) NetHttpBinding(BasicHttpSecurityMode, Boolean)

使用指定的安全模式初始化 NetHttpBinding 类的新实例。Initializes a new instance of the NetHttpBinding class with the specified security mode.

NetHttpBinding() NetHttpBinding() NetHttpBinding()

初始化 NetHttpBinding 类的新实例。Initializes a new instance of the NetHttpBinding class.

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

NetHttpBinding(BasicHttpSecurityMode) NetHttpBinding(BasicHttpSecurityMode) NetHttpBinding(BasicHttpSecurityMode) NetHttpBinding(BasicHttpSecurityMode)

使用指定的安全模式初始化 NetHttpBinding 类的新实例。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)

参数

securityMode
BasicHttpSecurityMode BasicHttpSecurityMode BasicHttpSecurityMode BasicHttpSecurityMode

安全模式The mode of the security.

NetHttpBinding(String) NetHttpBinding(String) NetHttpBinding(String) NetHttpBinding(String)

使用指定的配置名称初始化 NetHttpBinding 类的新实例。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)

参数

configurationName
String String String String

配置的名称。The name of the configuration.

NetHttpBinding(BasicHttpSecurityMode, Boolean) NetHttpBinding(BasicHttpSecurityMode, Boolean) NetHttpBinding(BasicHttpSecurityMode, Boolean) NetHttpBinding(BasicHttpSecurityMode, Boolean)

使用指定的安全模式初始化 NetHttpBinding 类的新实例。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)

参数

securityMode
BasicHttpSecurityMode BasicHttpSecurityMode BasicHttpSecurityMode BasicHttpSecurityMode

安全模式The mode of the security.

reliableSessionEnabled
Boolean Boolean Boolean Boolean

true 指示该可靠会话已启用;否则为 falsetrue to indicate that the reliable session was enabled; otherwise, false.

适用于