ExtensionElement 构造函数 
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ExtensionElement 类的新实例。
重载
| ExtensionElement() | 
						 初始化 ExtensionElement 类的新实例。  | 
        	
| ExtensionElement(String) | 
						 使用指定的名称初始化 ExtensionElement 类的新实例。  | 
        	
| ExtensionElement(String, String) | 
						 使用指定的名称和类型初始化 ExtensionElement 类的新实例。  | 
        	
ExtensionElement()
初始化 ExtensionElement 类的新实例。
public:
 ExtensionElement();
	public ExtensionElement ();
	Public Sub New ()
  适用于
ExtensionElement(String)
使用指定的名称初始化 ExtensionElement 类的新实例。
public:
 ExtensionElement(System::String ^ name);
	public ExtensionElement (string name);
	new System.ServiceModel.Configuration.ExtensionElement : string -> System.ServiceModel.Configuration.ExtensionElement
	Public Sub New (name As String)
	参数
- name
 - String
 
此配置元素的唯一名称。
例外
              name 为 null 或空。
适用于
ExtensionElement(String, String)
使用指定的名称和类型初始化 ExtensionElement 类的新实例。
public:
 ExtensionElement(System::String ^ name, System::String ^ type);
	public ExtensionElement (string name, string type);
	new System.ServiceModel.Configuration.ExtensionElement : string * string -> System.ServiceModel.Configuration.ExtensionElement
	Public Sub New (name As String, type As String)
	参数
- name
 - String
 
此配置元素的唯一名称。
- type
 - String
 
此配置元素的类型。