Open this page in the API Guide

DataDrivenNotification.DefineCustomState 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 (25.1.0.1000)
Syntax
public CustomState DefineCustomState(
	MeasureUsage measure,
	string name,
	string description,
	RangeNumberValue rangeNumberValue
)

Parameters

measure
Type: Dundas.BI.Entities.MetricSets.MeasureUsage
The measure.
name
Type: System.String
The state name.
description
Type: System.String
The state description.
rangeNumberValue
Type: Dundas.BI.Data.Parameters.RangeNumberValue
The defined range for the custom state.

Return Value

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