Bagikan melalui


HttpServerChannel.ChannelScheme Properti

Definisi

Mendapatkan jenis pendengar untuk dikaitkan (misalnya, "http").

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

Nilai Properti

Jenis pendengar untuk dikaitkan.

Penerapan

Contoh

Contoh kode berikut menunjukkan cara menggunakan ChannelScheme properti . Contoh kode ini adalah bagian dari contoh yang lebih besar yang disediakan untuk HttpServerChannel kelas .

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

Keterangan

Nilai ini tidak peka huruf besar/kecil.

Berlaku untuk