HttpTransportBindingElement.Scheme Propiedad

Definición

Obtiene el esquema de URI para el transporte.

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

Valor de propiedad

Objeto UriSchemeHttp que representa el esquema URI para el transporte.

Ejemplos

En el ejemplo siguiente se genera el esquema del enlace a la consola.

HttpTransportBindingElement httpBinding = new HttpTransportBindingElement();
Console.WriteLine("The scheme of the binding is {0}.",httpBinding.Scheme);

La salida es: "El esquema del enlace es http".

Comentarios

Esta propiedad se usa para validar enlaces con direcciones base.

Se aplica a