Share via


ThresholdRuleCondition.WindowSize Property

Optional. The time period over which the alert rule is evaluated. Condition window size depends on the metric.

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

Usage

'Usage
Dim instance As ThresholdRuleCondition
Dim value As TimeSpan

value = instance.WindowSize

instance.WindowSize = value

Syntax

'Declaration
Public Property WindowSize As TimeSpan
public TimeSpan WindowSize { get; set; }
public:
property TimeSpan WindowSize {
    TimeSpan get ();
    void set (TimeSpan value);
}
/** @property */
public TimeSpan get_WindowSize ()

/** @property */
public void set_WindowSize (TimeSpan value)
public function get WindowSize () : TimeSpan

public function set WindowSize (value : TimeSpan)

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

ThresholdRuleCondition Class
ThresholdRuleCondition Members
Microsoft.WindowsAzure.Management.Monitoring.Alerts.Models Namespace