QuickOPC User's Guide and Reference
Confirm Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.AlarmsAndConditions.Extensions Namespace > IEasyUAClientExtension Class : Confirm Method
The client object that will perform the operation.
Endpoint descriptor. Identifies the OPC-UA server.
Node descriptor. Identifies the node in OPC server's address space.
EventId identifying a particular Event Notification. Only Event Notifications where the Id property of ConfirmedState is False can be confirmed.
A localized text to be applied to the Conditions.
The Confirm Method is used to confirm an Event Notifications for a Condition instance state where ConfirmedState is FALSE.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Sub Confirm( _
   ByVal client As IEasyUAClient, _
   ByVal endpointDescriptor As UAEndpointDescriptor, _
   ByVal objectOrConditionNodeDescriptor As UANodeDescriptor, _
   ByVal eventId() As Byte, _
   ByVal comment As String _
) 
'Usage
 
Dim client As IEasyUAClient
Dim endpointDescriptor As UAEndpointDescriptor
Dim objectOrConditionNodeDescriptor As UANodeDescriptor
Dim eventId() As Byte
Dim comment As String
 
IEasyUAClientExtension.Confirm(client, endpointDescriptor, objectOrConditionNodeDescriptor, eventId, comment)

Parameters

client
The client object that will perform the operation.
endpointDescriptor
Endpoint descriptor. Identifies the OPC-UA server.
objectOrConditionNodeDescriptor
Node descriptor. Identifies the node in OPC server's address space.
eventId
EventId identifying a particular Event Notification. Only Event Notifications where the Id property of ConfirmedState is False can be confirmed.
comment
A localized text to be applied to the Conditions.
Remarks
Normally, the NodeId of the object instance as the ObjectId is passed to the Call Service. However, some Servers do not expose Condition instances in the AddressSpace. Therefore all Servers shall also allow Clients to call the AddComments Method by specifying ConditionId as the ObjectId. The Method cannot be called with an ObjectId of the AcknowledgeableConditionType Node.
Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

IEasyUAClientExtension Class
IEasyUAClientExtension Members