Click or drag to resize

IAlarmManagerRegister Method

Registers an alarm receiver for alarms.

Namespace: Bosch.Vms.SDK
Assembly: Bosch.Vms.SDK (in Bosch.Vms.SDK.dll) Version: 1.9.0.0
Syntax
C#
bool Register(
	AlarmReceiver alarmReceiver
)

Parameters

alarmReceiver  AlarmReceiver
Alarm receiver.

Return Value

Boolean
true if the receiver is registered, false if the maximum number of receivers have already been reached.
Exceptions
ExceptionCondition
SdkException Is thrown if alarmReceiver is null.
UnauthorizedAccessSdkException Thrown if operation is not permitted to caller.
Remarks

Do not forget to unregister the alarm-receiver when it is not needed anymore.

Note that the SDK does not notify alarm-receivers about alarms where the workflow-settings of the alarm-options specify that the alarm is a record-only alarm.

Usage Note
The number of receivers that are allowed to register for events are currently limited to 10 receivers.

See Also