A Sandcastle Documented Class Library

# StaysInStatesCondition Class

Condition in which a measure is tested to see if its value has stayed in one or more specified s for a specified polling condition.
Inheritance Hierarchy
System
Object
Dundas.BI.Notifications
DataDrivenCondition
Dundas.BI.Notifications
DataStateCondition
Dundas.BI.Notifications
StaysInStatesCondition

Namespace: Dundas.BI.Notifications
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public class StaysInStatesCondition : DataStateCondition,
    	IPollingCondition

    Public Class StaysInStatesCondition
    	Inherits DataStateCondition
    	Implements IPollingCondition

    public ref class StaysInStatesCondition : public DataStateCondition,
    	IPollingCondition

    type StaysInStatesCondition =
        class
            inherit DataStateCondition
            interface IPollingCondition
        end

The StaysInStatesCondition type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| StaysInStatesCondition(TargetDataCell, ICollection DataState , PollingCondition) | Initializes a new instance of the StaysInStatesCondition class.
| StaysInStatesCondition(ICollection TargetDataCell , ICollection DataState , RequestOverrides, IEnumerable ParameterValue , PollingCondition) | Initializes a new instance of the StaysInStatesCondition class.

Top
Properties

| Name | Description
--- | --- | ---
| Category | Gets the condition category. (Overrides DataDrivenCondition Category.)
| Id | Gets the condition ID. (Inherited from DataDrivenCondition.)
| Measure | Gets the measure usage element the condition is attached to. (Inherited from DataDrivenCondition.)
| MissingDataPolicy | Gets or sets the missing data policy for the target cells. (Inherited from DataDrivenCondition.)
| ParameterValues | Gets the parameter values to be used in data retrieval. (Inherited from DataDrivenCondition.)
| PollingCondition | Gets the polling condition.
| RequestOverrides | Gets the data retrieval request overrides, if any are defined. (Inherited from DataDrivenCondition.)
| TargetCells | Gets the condition target cells. (Inherited from DataDrivenCondition.)
| TargetStates | Gets the target states for the current instance. (Inherited from DataStateCondition.)

Top
Methods

| Name | Description
--- | --- | ---
| AddTargetCell | Adds the specified target cell to the current instance monitoring list. (Inherited from DataDrivenCondition.)
| AddTargetState | Adds a DataState to the current instance list of target states. (Inherited from DataStateCondition.)
| RemoveTargetCell | Removes the target data cell from the current instance monitoring list. (Inherited from DataDrivenCondition.)
| RemoveTargetState | Removes a DataState from the current instance list of target states. (Inherited from DataStateCondition.)
| SetDataRetrievalParameters | Sets the data retrieval parameters for the current instance. (Inherited from DataDrivenCondition.)

Top
See Also

#### Reference

Dundas.BI.Notifications Namespace
Dundas.BI.Entities.MetricSets
DataState