HttpTransportBindingElement.Scheme Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
A UriSchemeHttp object that represents the URI scheme for the transport.
Examples
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);
The output is: "The scheme of the binding is http."
Remarks
This property is used to validate bindings against base addresses.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.