OPC Studio User's Guide and Reference
EventCallback Property



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.OperationModel Namespace > EasyUAMonitoredItemArguments Class : EventCallback Property
A callback method to be invoked for each event notification generated by the monitored item.
Syntax
'Declaration
 
<CanBeNullAttribute()>
<DefaultValueAttribute("")>
<XmlIgnoreAttribute()>
Public Property EventCallback As EasyUAEventNotificationEventHandler
'Usage
 
Dim instance As EasyUAMonitoredItemArguments
Dim value As EasyUAEventNotificationEventHandler
 
instance.EventCallback = value
 
value = instance.EventCallback
[CanBeNull()]
[DefaultValue("")]
[XmlIgnore()]
public EasyUAEventNotificationEventHandler EventCallback {get; set;}
[CanBeNull()]
[DefaultValue("")]
[XmlIgnore()]
public:
property EasyUAEventNotificationEventHandler^ EventCallback {
   EasyUAEventNotificationEventHandler^ get();
   void set (    EasyUAEventNotificationEventHandler^ value);
}

Property Value

If this is a null reference, only the OpcLabs.EasyOpc.UA.IEasyUAClient.EventNotification event is generated, and no callback method is invoked.
Remarks

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