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());

적용 대상