HttpServerChannel.GetChannelUri Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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());