HttpTransportBindingElement.Scheme Propriedade
Definição
Obtém o esquema do URI para o transporte.Gets the URI scheme for the transport.
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 da propriedade
Um UriSchemeHttp objeto que representa o esquema de URI para o transporte.A UriSchemeHttp object that represents the URI scheme for the transport.
Exemplos
O exemplo a seguir gera o esquema da Associação para o console.The following example outputs the scheme of the binding to the console.
HttpTransportBindingElement httpBinding = new HttpTransportBindingElement();
Console.WriteLine("The scheme of the binding is {0}.",httpBinding.Scheme);
A saída é: "o esquema da associação é http."The output is: "The scheme of the binding is http."
Comentários
Essa propriedade é usada para validar associações em relação a endereços base.This property is used to validate bindings against base addresses.