DefinitionMonitorHTTPOptions.ExpectedStatusCode Property

Gets or sets the HTTP status code that is expected from a healthy endpoint.

Namespace: Microsoft.WindowsAzure.Management.TrafficManager.Models
Assembly: Microsoft.WindowsAzure.Management.TrafficManager (in Microsoft.WindowsAzure.Management.TrafficManager.dll)

Dim instance As DefinitionMonitorHTTPOptions
Dim value As Integer

value = instance.ExpectedStatusCode

instance.ExpectedStatusCode = value

public int ExpectedStatusCode { get; set; }
/** @property */
public int get_ExpectedStatusCode ()

/** @property */
public void set_ExpectedStatusCode (int value)

public function get ExpectedStatusCode () : int

public function set ExpectedStatusCode (value : int)

Property Value

The HTTP status code.

The value must be set to 200.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms