Rediger

Del via


ServiceHealthElement.HttpGetBinding Property

Definition

Gets or sets a string that represents the type of binding used for health retrieval via an HTTP/Get request.

public:
 property System::String ^ HttpGetBinding { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("httpGetBinding", DefaultValue="")]
[System.Configuration.StringValidator(MinLength=0)]
public string HttpGetBinding { get; set; }
[<System.Configuration.ConfigurationProperty("httpGetBinding", DefaultValue="")>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.HttpGetBinding : string with get, set
Public Property HttpGetBinding As String

Property Value

A string that represents the binding used for health retrieval via an HTTP/Get request.

Attributes

Remarks

The HttpGetBinding property corresponds to the value of the HttpGetBinding attribute of a <serviceHealth> element. If the attribute is not defined in a configuration file, its default value is String.Empty. The property defines the value of the ServiceHealthBehavior.HttpGetBinding property.

Applies to