ServiceHealthBehaviorBase.HttpGetBinding 属性

定义

获取或设置用于通过 HTTP/Get 请求进行运行状况检索的绑定。

public:
 property System::ServiceModel::Channels::Binding ^ HttpGetBinding { System::ServiceModel::Channels::Binding ^ get(); void set(System::ServiceModel::Channels::Binding ^ value); };
public System.ServiceModel.Channels.Binding HttpGetBinding { get; set; }
member this.HttpGetBinding : System.ServiceModel.Channels.Binding with get, set
Public Property HttpGetBinding As Binding

属性值

Binding

用于通过 HTTP/Get 请求进行运行状况检索的绑定。

例外

在设置操作中,HttpGetUrl 参数的 Url 必须是相对的,或者其方案必须是“HTTP”。

  • 或 -

消息版本不正确。

注解

设置此属性是可选的。 如果未设置,则使用默认绑定。

仅支持具有支持的内部绑定元素 IReplyChannel 的绑定。 此外, MessageVersion 绑定的 属性必须是 MessageVersion.None

适用于