QuickOPC User's Guide and Reference
Cookie Property (_AEEventData)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.ComTypes Namespace > _AEEventData Interface : Cookie Property
Server defined cookie associated with the event notification.
Syntax
'Declaration
 
Property Cookie As Integer
'Usage
 
Dim instance As _AEEventData
Dim value As Integer
 
instance.Cookie = value
 
value = instance.Cookie
int Cookie {get; set;}
property int Cookie {
   int get();
   void set (    int value);
}
Remarks

This property is used only for Condition-Related Events (see EventType).

The cookie is used by the client when acknowledging the condition. This value is opaque to the client.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

_AEEventData Interface
_AEEventData Members