HttpServerChannel.GetChannelUri メソッド

定義

現在のチャネルの URI を返します。

public:
 System::String ^ GetChannelUri();
public string GetChannelUri();
member this.GetChannelUri : unit -> string
Public Function GetChannelUri () As String

返品

現在のチャネルの URI。

次のコード例は、 GetChannelUri メソッドの使用方法を示しています。 このコード例は、 HttpServerChannel クラスに提供されるより大きな例の一部です。

// Display the channel's URI.
Console::WriteLine( L"The channel URI is {0}.", serverChannel->GetChannelUri() );
// Display the channel's URI.
Console.WriteLine("The channel URI is {0}.",
    serverChannel.GetChannelUri());

適用対象