HttpServerChannel.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

Valori restituiti

URI del canale corrente.

Esempio

Nell'esempio di codice seguente viene illustrato come usare il GetChannelUri metodo . Questo esempio di codice fa parte di un esempio più ampio fornito per la HttpServerChannel classe .

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

Si applica a