ServiceHostBase.AddBaseAddress(Uri) Method
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.
Adds a base address to the service host.
protected:
void AddBaseAddress(Uri ^ baseAddress);
protected void AddBaseAddress (Uri baseAddress);
member this.AddBaseAddress : Uri -> unit
Protected Sub AddBaseAddress (baseAddress As Uri)
Parameters
Exceptions
The baseAddress
cannot be called.
Remarks
This property allows users extending ServiceHostBase to provide the base address after the host is constructed. AddBaseAddress(Uri) can be used to add base addresses to an existing host, but throws an exception if the description is already initialized.
Applies to
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за