OPC Studio User's Guide and Reference
EventData Property (EasyAENotificationEventArgs)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc.AlarmsAndEvents.OperationModel Namespace > EasyAENotificationEventArgs Class : EventData Property
Event notification information.
Syntax
'Declaration
 
<DefaultValueAttribute("")>
Public Property EventData As AEEventData
'Usage
 
Dim instance As EasyAENotificationEventArgs
Dim value As AEEventData
 
instance.EventData = value
 
value = instance.EventData
[DefaultValue("")]
public AEEventData EventData {get; set;}
[DefaultValue("")]
public:
property AEEventData^ EventData {
   AEEventData^ get();
   void set (    AEEventData^ value);
}
Remarks

The EventData property contains an OpcLabs.EasyOpc.AlarmsAndEvents.AEEventData object for regular event notifications, and for notifications triggered by subscription refresh (except for RefreshComplete notification).

The EventData property contains a null reference when an error occurred (indicating connection loss; an Exception property is filled in this case), when a connection is re-gained (an Exception property contains a null reference in this case), or when the notification indicates that subscription refresh is complete (RefreshComplete property contains True in this case).

This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.

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