WSHttpBindingBase 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 WSHttpBindingBase 类的新实例。
重载
| WSHttpBindingBase() | 
						 初始化 WSHttpBindingBase 类的新实例。  | 
        	
| WSHttpBindingBase(Boolean) | 
						 用一个值初始化 WSHttpBindingBase 类的新实例,该值指定是否已启用可靠会话。  | 
        	
WSHttpBindingBase()
- Source:
 - WSHttpBindingBase.cs
 
- Source:
 - WSHttpBindingBase.cs
 
- Source:
 - WSHttpBindingBase.cs
 
初始化 WSHttpBindingBase 类的新实例。
protected:
 WSHttpBindingBase();
	protected WSHttpBindingBase ();
	Protected Sub New ()
  示例
此示例演示如何使用无参数构造函数。
WSHttpBinding binding1 = new WSHttpBinding();
Dim binding1 As New WSHttpBinding()
  适用于
WSHttpBindingBase(Boolean)
- Source:
 - WSHttpBindingBase.cs
 
- Source:
 - WSHttpBindingBase.cs
 
- Source:
 - WSHttpBindingBase.cs
 
用一个值初始化 WSHttpBindingBase 类的新实例,该值指定是否已启用可靠会话。
protected:
 WSHttpBindingBase(bool reliableSessionEnabled);
	protected WSHttpBindingBase (bool reliableSessionEnabled);
	new System.ServiceModel.WSHttpBindingBase : bool -> System.ServiceModel.WSHttpBindingBase
	Protected Sub New (reliableSessionEnabled As Boolean)
	参数
- reliableSessionEnabled
 - Boolean
 
如果已启用可靠会话,则为 true;否则为 false。