TcpServerChannel.GetChannelUri Metod

Definition

Returnerar URI:n för den aktuella kanalen.

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

Returer

URI:n för den aktuella kanalen.

Exempel

Följande kodexempel visar hur du använder den här metoden.

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

Gäller för