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。 預設為空字串。

屬性

備註

位址可以指定為絕對或相對位址。 如果提供相對位址,主機必須為繫結中使用的傳輸配置提供適當的基底位址。 如果沒有設定位址,會將基底位址假設為該端點的位址。

適用於