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



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

The EventData property contains a OpcLabs.EasyOpc.UA.UAEventData object.

When OpcLabs.BaseLib.OperationModel.OperationEventArgs.Succeeded is false, this property is always a null reference. When OpcLabs.BaseLib.OperationModel.OperationEventArgs.Succeeded is true, this property is a null reference indicating that the monitored item has become operative, or it is a non-null when the server has delivered the event data. Note that this is different from the behavior of AttributeData, which is always non-null when OpcLabs.BaseLib.OperationModel.OperationEventArgs.Succeeded is true.

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