Directly acknowledge an object using its ID

Namespace: Ico.Awx
Assembly: AwxViewControl (in AwxViewControl.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public StatusCode AlarmStateOperationByID(
	byte[] eventId,
	string comment,
	StateOperation operation
)
Visual Basic
Public Function AlarmStateOperationByID ( _
	eventId As Byte(), _
	comment As String, _
	operation As StateOperation _
) As StatusCode
JScript
public function AlarmStateOperationByID(
	eventId : byte[], 
	comment : String, 
	operation : StateOperation
) : StatusCode

Parameters

eventId
Type: array<System..::..Byte>[]()[][]
comment
Type: System..::..String
operation
Type: Ico.Awx.Common..::..StateOperation

Remarks

If BaseEventType.Severity, BaseEventType.SourceName, BaseEventType.EventType, BaseEventType.EventId, BaseEventType.SourceName fields are not subscribed the acknowledge is forbidden

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionSome fields required by the Acknowledgment are not defined
System..::..InvalidOperationExceptionAcknoledgment for Historical alarms is not available
System..::..InvalidOperationExceptionSubscription is not defined in SubscriptionsRepository
System..::..InvalidOperationExceptionComment is required

See Also