OPC Studio User's Guide and Reference
UADataChangeFilter Constructor(UADataChangeTrigger)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA Namespace > UADataChangeFilter Class > UADataChangeFilter Constructor : UADataChangeFilter Constructor(UADataChangeTrigger)
The conditions under which a data change notification should be reported.
Initializes a new instance of the class, specifying the data change trigger.
Syntax
'Declaration
 
Public Function New( _
   ByVal dataChangeTrigger As UADataChangeTrigger _
)
'Usage
 
Dim dataChangeTrigger As UADataChangeTrigger
 
Dim instance As New UADataChangeFilter(dataChangeTrigger)
public UADataChangeFilter( 
   UADataChangeTrigger dataChangeTrigger
)
public:
UADataChangeFilter( 
   UADataChangeTrigger dataChangeTrigger
)

Parameters

dataChangeTrigger
The conditions under which a data change notification should be reported.
Exceptions
ExceptionDescription

An invalid enumeration value was used.

This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception.

Remarks

In languages that support implicit conversions (such as C# or VB.NET), in many cases you do not have call this constructor explicitly. When indicated, a call to an available equivalent implicit conversion operator will be created by the compiler automatically.

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