Επεξεργασία

Κοινή χρήση μέσω


TcpServerChannel.GetChannelUri Method

Definition

Returns the URI of the current channel.

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

Returns

The URI of the current channel.

Examples

The following code example shows the use this method.

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

Applies to