BindingContext.ListenUriRelativeAddress Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the URI that provides the relative address at which the service endpoint listens.
public:
property System::String ^ ListenUriRelativeAddress { System::String ^ get(); void set(System::String ^ value); };
public string ListenUriRelativeAddress { get; set; }
member this.ListenUriRelativeAddress : string with get, set
Public Property ListenUriRelativeAddress As String
Property Value
The relative address at which the service endpoint listens.
Examples
CustomBinding binding = new CustomBinding();
BindingParameterCollection bpCol = new BindingParameterCollection();
BindingContext context = new BindingContext(binding, bpCol);
string relAddress = context.ListenUriRelativeAddress;
Dim binding As New CustomBinding()
Dim bpCol As New BindingParameterCollection()
Dim context As New BindingContext(binding, bpCol)
Dim relAddress As String = context.ListenUriRelativeAddress
Remarks
The address for the endpoint at which a service listens is obtained by appending the ListenUriRelativeAddress to the ListenUriBaseAddress. This absolute address can be set using the ListenUri property.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.