BasicHttpBinding.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 transport scheme for the channels and listeners that are configured with this binding.
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
"https" if the security mode in the transport binding element is set to Transport or TransportWithMessageCredential; "http" otherwise.
Examples
The following example gets the current Scheme.
BasicHttpBinding binding = new BasicHttpBinding();
string thisScheme = binding.Scheme;
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.