OPC Studio User's Guide and Reference
DataChangeCallback Property



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

Property Value

If this is a null reference, only the OpcLabs.EasyOpc.UA.IEasyUAClient.DataChangeNotification 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