Share via


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

適用於