Redigera

Dela via


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

A String that contains the URI of the channel.

Examples

The following code example illustrates how to use the GetChannelUri method.

Console::WriteLine( L"Listening on {0}", serverChannel->GetChannelUri() );
Console.WriteLine("Listening on {0}", serverChannel.GetChannelUri());

Remarks

The channel URI is used by the client to specify a remote server channel.

Applies to