WSDualHttpBinding.Scheme 属性

定义

获取用此绑定配置的通道和侦听器的 URI 传输方案。

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

属性值

传输方案:“http”。

示例

下面的示例演示如何在配置文件中指定 wsDualHttpBinding 绑定。

string scheme = binding.Scheme;
Dim scheme As String = binding.Scheme

适用于