ChannelEndpointElement.Name 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定給定合約端點的唯一識別碼。
public:
property System::String ^ Name { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("name", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
[System.Configuration.StringValidator(MinLength=0)]
public string Name { get; set; }
[<System.Configuration.ConfigurationProperty("name", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.Name : string with get, set
Public Property Name As String
屬性值
某個契約的終點。 預設值是空字串。 服務模式允許使用者為特定合約類型定義多個用戶端。 每個定義都必須以唯一的配置名稱來區分。 若省略此屬性,則對應端點將作為與指定合約類型相關的預設端點。
- 屬性
備註
服務模式允許使用者為特定合約類型定義多個用戶端。 每個定義都必須以唯一的配置名稱來區分。 若省略此屬性,則對應端點將作為與指定合約類型相關的預設端點。