WSHttpBindingBase.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
"http" if the security mode of the transport binding element is set to None or Message; "https" if the security mode is set otherwise.
Examples
This example shows how to get the maximum size for a message.
string scheme = binding1.Scheme;
Dim scheme = binding1.Scheme
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.