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 AcknowledgeByID(
	byte[] eventId,
	string comment
)
Visual Basic
Public Function AcknowledgeByID ( _
	eventId As Byte(), _
	comment As String _
) As StatusCode
JScript
public function AcknowledgeByID(
	eventId : byte[], 
	comment : String
) : StatusCode

Parameters

eventId
Type: array<System..::..Byte>[]()[][]
comment
Type: System..::..String

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