ServiceElement 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表一個包含 Windows Communication Foundation(WCF)服務設定的 XML 元素,以及暴露該服務的端點。 此類別無法獲得繼承。
public ref class ServiceElement sealed : System::Configuration::ConfigurationElement
public sealed class ServiceElement : System.Configuration.ConfigurationElement
type ServiceElement = class
inherit ConfigurationElement
Public NotInheritable Class ServiceElement
Inherits ConfigurationElement
- 繼承
建構函式
| 名稱 | Description |
|---|---|
| ServiceElement() |
初始化 ServiceElement 類別的新執行個體。 |
| ServiceElement(String) |
初始化一個新的類別實例 ServiceElement ,並使用待實例化的服務類型。 |