WebHttpBindingElement 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 WebHttpBindingElement 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| WebHttpBindingElement() |
初始化 WebHttpBindingElement 類別的新執行個體。 |
| WebHttpBindingElement(String) |
初始化該類別的新實例 WebHttpBindingElement 並指定元素名稱。 |
WebHttpBindingElement()
初始化 WebHttpBindingElement 類別的新執行個體。
public:
WebHttpBindingElement();
public WebHttpBindingElement();
Public Sub New ()
備註
此組態元素的名稱預設由建構子設定為 null 。
適用於
WebHttpBindingElement(String)
初始化該類別的新實例 WebHttpBindingElement 並指定元素名稱。
public:
WebHttpBindingElement(System::String ^ name);
public WebHttpBindingElement(string name);
new System.ServiceModel.Configuration.WebHttpBindingElement : string -> System.ServiceModel.Configuration.WebHttpBindingElement
Public Sub New (name As String)
參數
- name
- String
此綁定配置元素所使用的名稱。
備註
預設 name 值在 nullWebHttpBindingElement().