Partilhar via


HttpServerChannel.ChannelScheme Propriedade

Definição

Obtém o tipo de ouvinte para conectar (por exemplo, "http").

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

Valor da propriedade

O tipo de ouvinte para conectar.

Implementações

Exemplos

O exemplo de código a seguir mostra como usar a ChannelScheme propriedade. Este exemplo de código faz parte de um exemplo maior fornecido para a HttpServerChannel classe.

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

Comentários

Esse valor não diferencia maiúsculas de minúsculas.

Aplica-se a