'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function WaitForMultiple( _ ByVal client As IEasyUAClient, _ ByVal argumentsAndExitPredicateList As IReadOnlyList(Of ValueTuple(Of UAMonitoredItemArguments,Func(Of EasyUADataChangeNotificationEventArgs,Boolean))), _ ByVal millisecondsTimeout As Integer _ ) As UAAttributeDataResult()
'Usage
Dim client As IEasyUAClient Dim argumentsAndExitPredicateList As IReadOnlyList(Of ValueTuple(Of UAMonitoredItemArguments,Func(Of EasyUADataChangeNotificationEventArgs,Boolean))) Dim millisecondsTimeout As Integer Dim value() As UAAttributeDataResult value = IEasyUAClientExtension2.WaitForMultiple(client, argumentsAndExitPredicateList, millisecondsTimeout)
[Extension()] [NotNull()] public static UAAttributeDataResult[] WaitForMultiple( IEasyUAClient client, IReadOnlyList<ValueTuple<UAMonitoredItemArguments,Func<EasyUADataChangeNotificationEventArgs,bool>>> argumentsAndExitPredicateList, int millisecondsTimeout )
[Extension()] [NotNull()] public: static array<UAAttributeDataResult^>^ WaitForMultiple( IEasyUAClient^ client, IReadOnlyList<ValueTuple<UAMonitoredItemArguments^,Func<EasyUADataChangeNotificationEventArgs^,bool>^>>^ argumentsAndExitPredicateList, int millisecondsTimeout )
Parameters
- client
- The client object that will perform the operation.
This is typically the OpcLabs.EasyOpc.UA.EasyUAClient object.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - argumentsAndExitPredicateList
- List of tuples, where each tuple consists of OPC-UA monitored item arguments, and a predicate on OpcLabs.EasyOpc.UA.OperationModel.EasyUADataChangeNotificationEventArgs determining when the wait is complete.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - millisecondsTimeout
- The number of milliseconds to wait, or System.Threading.Timeout.Infinite to wait indefinitely.
Valid values of this parameter are in the range from
-1
to2147483647 (Int32.MaxValue)
.
Return Value
This method never returns null
(Nothing
in Visual Basic).
The individual elements of the returned value are never null
(Nothing
in Visual Basic).