Edit

Share via


HostedTransportConfiguration.GetBaseAddresses(String) Method

Definition

When overridden in a derived class, retrieves the base address of the host.

public:
 abstract cli::array <Uri ^> ^ GetBaseAddresses(System::String ^ virtualPath);
public abstract Uri[] GetBaseAddresses (string virtualPath);
abstract member GetBaseAddresses : string -> Uri[]
Public MustOverride Function GetBaseAddresses (virtualPath As String) As Uri()

Parameters

virtualPath
String

The virtual path to the service.

Returns

Uri[]

The Uri that contains the base address of the host.

Remarks

For more information about the use of this class, see the UDP Activation sample, which demonstrates how to create a custom user datagram protocol (UDP) to be activated by WAS.

Applies to