'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Shared Function SubscribeMultipleDataChanges( _ ByVal client As IEasyUAClient, _ ByVal monitoredItemArgumentsArray() As UAMonitoredItemArguments, _ ByVal dataChangeCallback As EasyUADataChangeNotificationEventHandler _ ) As Integer()
'UsageDim client As IEasyUAClient Dim monitoredItemArgumentsArray() As UAMonitoredItemArguments Dim dataChangeCallback As EasyUADataChangeNotificationEventHandler Dim value() As Integer value = IEasyUAClientExtension.SubscribeMultipleDataChanges(client, monitoredItemArgumentsArray, dataChangeCallback)
[Extension()] [JetBrains.Annotations.NotNull()] public static int[] SubscribeMultipleDataChanges( IEasyUAClient client, UAMonitoredItemArguments[] monitoredItemArgumentsArray, EasyUADataChangeNotificationEventHandler dataChangeCallback )
[Extension()] [JetBrains.Annotations.NotNull()] public: static array<int>^ SubscribeMultipleDataChanges( IEasyUAClient^ client, array<UAMonitoredItemArguments^>^ monitoredItemArgumentsArray, EasyUADataChangeNotificationEventHandler^ dataChangeCallback )
Parameters
- client
- The client object that will perform the operation.
This is typically the EasyUAClient object.
The value of this parameter cannot be
null(Nothingin Visual Basic). - monitoredItemArgumentsArray
- Array of OpcLabs.EasyOpc.UA.OperationModel.UAMonitoredItemArguments. Array of argument objects specifying what and how to subscribe.
The value of this parameter cannot be
null(Nothingin Visual Basic).The individual elements of the parameter value cannot be
null(Nothingin Visual Basic). - dataChangeCallback
- A callback method to be invoked for each significant monitored item change.
The value of this parameter cannot be
null(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).