BaseAddressElement.BaseAddress 属性

定义

获取或设置服务主机所使用的基址。

public:
 property System::String ^ BaseAddress { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("baseAddress", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=1)]
public string BaseAddress { get; set; }
[<System.Configuration.ConfigurationProperty("baseAddress", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)>]
[<System.Configuration.StringValidator(MinLength=1)>]
member this.BaseAddress : string with get, set
Public Property BaseAddress As String

属性值

String

服务主机所使用的基址。

属性

适用于