HttpServerChannel.GetChannelUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 how to use the GetChannelUri method. This code example is part of a larger example provided for the HttpServerChannel class.
// 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());
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.