'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Shared Function SubscribeMultipleEvents( _ ByVal client As IEasyUAClient, _ ByVal monitoredItemArgumentsArray() As UAMonitoredItemArguments, _ ByVal eventCallback As EasyUAEventNotificationEventHandler _ ) As Integer()
'Usage
Dim client As IEasyUAClient Dim monitoredItemArgumentsArray() As UAMonitoredItemArguments Dim eventCallback As EasyUAEventNotificationEventHandler Dim value() As Integer value = IEasyUAClientExtension.SubscribeMultipleEvents(client, monitoredItemArgumentsArray, eventCallback)
[Extension()] [NotNull()] public static int[] SubscribeMultipleEvents( IEasyUAClient client, UAMonitoredItemArguments[] monitoredItemArgumentsArray, EasyUAEventNotificationEventHandler eventCallback )
[Extension()] [NotNull()] public: static array<int>^ SubscribeMultipleEvents( IEasyUAClient^ client, array<UAMonitoredItemArguments^>^ monitoredItemArgumentsArray, EasyUAEventNotificationEventHandler^ eventCallback )
Parameters
- client
- The client object that will perform the operation.
This is typically the EasyUAClient object.
The value of this parameter cannot be
null
(Nothing
in 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
(Nothing
in Visual Basic).The individual elements of the parameter value cannot be
null
(Nothing
in Visual Basic). - eventCallback
- A callback method to be invoked for each event notification.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Return Value
This method never returns null
(Nothing
in Visual Basic).