QuickOPC User's Guide and Reference
EasyDAItemSubscriptionArguments Constructor(DAItemGroupArguments,EasyDAItemChangedEventHandler)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.OperationModel Namespace > EasyDAItemSubscriptionArguments Class > EasyDAItemSubscriptionArguments Constructor : EasyDAItemSubscriptionArguments Constructor(DAItemGroupArguments,EasyDAItemChangedEventHandler)
The item group arguments object to be copied from.
A callback method to be invoked for each significant item change.
Initializes a new instance of the class. Initializes a new EasyDAItemSubscriptionArguments object from DAItemGroupArguments, and with specified callback method.
Syntax
'Declaration
 
Public Function New( _
   ByVal args As DAItemGroupArguments, _
   ByVal callback As EasyDAItemChangedEventHandler _
)
'Usage
 
Dim args As DAItemGroupArguments
Dim callback As EasyDAItemChangedEventHandler
 
Dim instance As New EasyDAItemSubscriptionArguments(args, callback)
public EasyDAItemSubscriptionArguments( 
   DAItemGroupArguments args,
   EasyDAItemChangedEventHandler callback
)
public:
EasyDAItemSubscriptionArguments( 
   DAItemGroupArguments^ args,
   EasyDAItemChangedEventHandler^ callback
)

Parameters

args
The item group arguments object to be copied from.
callback
A callback method to be invoked for each significant item change.
Remarks
If callback is a null reference, only the notification events are generated, but no callback method is invoked.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2012, Windows Server 2016; .NET Core, .NET 5, .NET 6: Linux, macOS, Microsoft Windows

See Also

Reference

EasyDAItemSubscriptionArguments Class
EasyDAItemSubscriptionArguments Members
Overload List