Partage via


HttpServerChannel.GetChannelUri Méthode

Définition

Retourne l'URI du canal en cours.

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

Retours

URI du canal en cours.

Exemples

L'exemple de code suivant montre comment utiliser la méthode GetChannelUri. Cet exemple de code fait partie d’un exemple plus grand fourni pour 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());

S’applique à