OPC Studio User's Guide and Reference
Cookie Property (AEEventData)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents Namespace > AEEventData Class : Cookie Property
Server defined cookie associated with the event notification.
Syntax
'Declaration
 
<DefaultValueAttribute(0)>
Public Property Cookie As Long
'Usage
 
Dim instance As AEEventData
Dim value As Long
 
instance.Cookie = value
 
value = instance.Cookie
[DefaultValue(0)]
public long Cookie {get; set;}
[DefaultValue(0)]
public:
property int64 Cookie {
   int64 get();
   void set (    int64 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 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also