語言

ServiceEndpointElement.Address 屬性

定義

取得或設定一個包含端點位址的 URI。

public:
 property Uri ^ Address { Uri ^ get(); void set(Uri ^ value); };
[System.Configuration.ConfigurationProperty("address", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)]
public Uri Address { get; set; }
[<System.Configuration.ConfigurationProperty("address", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey)>]
member this.Address : Uri with get, set
Public Property Address As Uri

屬性值

Uri

一個包含端點位址的 URI。 預設值是空字串。

屬性

備註

位址可指定為絕對位址或相對位址。 若提供相對位址,主機應提供適合綁定傳輸方案的基底位址。 如果未設定位址,則會假設基位址是該端點的位址。

適用於