Initializes a new instance of the AlertSetSubscriber class.

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 AlertSetSubscriber(
	string id,
	AlertSetSubscriberType type,
	AlertSetSubscriberAction action,
	bool isSubscribed,
	bool isSubscriptionForced
)
Visual Basic
Public Sub New ( _
	id As String, _
	type As AlertSetSubscriberType, _
	action As AlertSetSubscriberAction, _
	isSubscribed As Boolean, _
	isSubscriptionForced As Boolean _
)

Parameters

id
Type: System..::..String
The ID of the subscriber.
type
Type: ININ.IceLib.Statistics.Alerts..::..AlertSetSubscriberType
The type of the subscriber. Role is currently not supported.
action
Type: ININ.IceLib.Statistics.Alerts..::..AlertSetSubscriberAction
The action to perform on the subscriber.
isSubscribed
Type: System..::..Boolean
Whether the subscriber is subscribed (trueTruetruetrue (True in Visual Basic)) or not (falseFalsefalsefalse (False in Visual Basic)).
isSubscriptionForced
Type: System..::..Boolean
Whether the subscription is forced (trueTruetruetrue (True in Visual Basic)) or not (falseFalsefalsefalse (False in Visual Basic)).

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionid is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..ArgumentExceptiontype is not a valid value for enum type AlertSetSubscriberType.
System..::..ArgumentExceptionaction is not a valid value for enum type AlertSetSubscriberAction.

Version Information

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

See Also