Share via


DefinitionMonitor.ToleratedNumberOfFailures Property

Gets or sets the number of consecutive failures to allow on an endpoint before taking the endpoint out of the rotation in the load balancer.

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

Usage

'Usage
Dim instance As DefinitionMonitor
Dim value As Integer

value = instance.ToleratedNumberOfFailures

instance.ToleratedNumberOfFailures = value

Syntax

'Declaration
Public Property ToleratedNumberOfFailures As Integer
public int ToleratedNumberOfFailures { get; set; }
public:
property int ToleratedNumberOfFailures {
    int get ();
    void set (int value);
}
/** @property */
public int get_ToleratedNumberOfFailures ()

/** @property */
public void set_ToleratedNumberOfFailures (int value)
public function get ToleratedNumberOfFailures () : int

public function set ToleratedNumberOfFailures (value : int)

Property Value

The number of allowed consecutive failures.

Remarks

The value must be set to 3.

Thread Safety

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

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

DefinitionMonitor Class
DefinitionMonitor Members
Microsoft.WindowsAzure.Management.TrafficManager.Models Namespace