This documentation is archived and is not being maintained.
HttpTransportBindingElement.Scheme Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the URI scheme for the transport.
Namespace:
System.ServiceModel.Channels
Assembly:
System.ServiceModel (in System.ServiceModel.dll)
public override string Scheme { get; }
This property is used to validate bindings against base addresses.
The output is: "The scheme of the binding is http."
// Output http scheme.
string txtScheme = httpTransportBindingElement.Scheme;
txtOutput5.Text = txtScheme; //The value is http.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0