Condividi tramite


TcpServerChannel.GetChannelUri Metodo

Definizione

Restituisce l'URI del canale corrente.

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

Restituisce

URI del canale corrente.

Esempio

Nell'esempio di codice seguente viene illustrato l'uso di questo metodo.

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

Si applica a