DataDrivenNotificationDefineCustomState Method

Defines a new custom state for the current instance.

Namespace:  Dundas.BI.Notifications
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax
public CustomState DefineCustomState(
	MeasureUsage measure,
	string name,
	string description,
	RangeNumberValue rangeNumberValue
)

Parameters

measure
Type: Dundas.BI.Entities.MetricSetsMeasureUsage
The measure.
name
Type: SystemString
The state name.
description
Type: SystemString
The state description.
rangeNumberValue
Type: Dundas.BI.Data.ParametersRangeNumberValue
The defined range for the custom state.

Return Value

Type: CustomState
The custom state.
Exceptions
ExceptionCondition
ArgumentNullExceptionmeasure or rangeNumberValue is .
See Also