A Sandcastle Documented Class Library

# EntersStatesCondition AddSourceState Method

Adds a DataState to the current instance list of source states.

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 void AddSourceState(
    	DataState state
    )

    Public Sub AddSourceState (
    	state As DataState
    )

    public:
    void AddSourceState(
    	DataState^ state
    )

    member AddSourceState :
            state : DataState -> unit

#### Parameters

state
  Type: Dundas.BI.Entities.MetricSets
  DataState
  The DataState to add to the list.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | state is .
ArgumentException | state references a different MeasureUsage element than the one the current instance is attached to.

See Also

#### Reference

EntersStatesCondition Class
Dundas.BI.Notifications Namespace