Subscribes to the specified alert set.

Namespace: ININ.IceLib.Statistics.Alerts
Assembly: ININ.IceLib.Statistics (in ININ.IceLib.Statistics.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public void Subscribe(
	AlertSet alertSet,
	bool subscribeFlag
)
Visual Basic
Public Sub Subscribe ( _
	alertSet As AlertSet, _
	subscribeFlag As Boolean _
)

Parameters

alertSet
Type: ININ.IceLib.Statistics.Alerts..::..AlertSet
The alert set.
subscribeFlag
Type: System..::..Boolean
if set to trueTruetruetrue (True in Visual Basic) subscribe to alert set, else if set to falseFalsefalsefalse (False in Visual Basic) unsubscribe from the alert set.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionalertSet is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..InvalidOperationExceptionCannot perform subscribe operation on default alert set.

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.

See Also