Επεξεργασία

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


HttpServerChannel.ChannelScheme Property

Definition

Gets the type of listener to hook into (for example, "http").

public:
 property System::String ^ ChannelScheme { System::String ^ get(); };
public string ChannelScheme { get; }
member this.ChannelScheme : string
Public ReadOnly Property ChannelScheme As String

Property Value

The type of listener to hook into.

Implements

Examples

The following code example shows how to use the ChannelScheme property. This code example is part of a larger example provided for the HttpServerChannel class.

// Display the channel's scheme.
Console::WriteLine( L"The channel scheme is {0}.", serverChannel->ChannelScheme );
// Display the channel's scheme.
Console.WriteLine("The channel scheme is {0}.",
    serverChannel.ChannelScheme);

Remarks

This value is not case-sensitive.

Applies to