HostedTransportConfiguration.GetBaseAddresses(String) 方法

定义

当在派生类中被重写时,检索主机的基址。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()

参数

virtualPath
String

服务的虚拟路径。The virtual path to the service.

返回

Uri[]

包含主机基址的 UriThe Uri that contains the base address of the host.

注解

有关使用此类的详细信息,请参阅 UDP 激活 示例,该示例演示如何创建一个自定义用户数据报协议, (UDP) 由 WAS 激活。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.

适用于