'Declaration
<ExtensionAttribute()> <ElementsNotNullAttribute()> <NotNullAttribute()> Public Overloads Shared Function WaitForMultipleItems( _ ByVal client As IEasyDAClient, _ ByVal argumentsAndExitPredicateList As IReadOnlyList(Of ValueTuple(Of DAItemGroupArguments,Func(Of DAVtqResult,Boolean))), _ ByVal millisecondsTimeout As Integer _ ) As DAVtqResult()
'Usage
Dim client As IEasyDAClient Dim argumentsAndExitPredicateList As IReadOnlyList(Of ValueTuple(Of DAItemGroupArguments,Func(Of DAVtqResult,Boolean))) Dim millisecondsTimeout As Integer Dim value() As DAVtqResult value = IEasyDAClientExtension2.WaitForMultipleItems(client, argumentsAndExitPredicateList, millisecondsTimeout)
[Extension()] [ElementsNotNull()] [NotNull()] public static DAVtqResult[] WaitForMultipleItems( IEasyDAClient client, IReadOnlyList<ValueTuple<DAItemGroupArguments,Func<DAVtqResult,bool>>> argumentsAndExitPredicateList, int millisecondsTimeout )
[Extension()] [ElementsNotNull()] [NotNull()] public: static array<DAVtqResult^>^ WaitForMultipleItems( IEasyDAClient^ client, IReadOnlyList<ValueTuple<DAItemGroupArguments^,Func<DAVtqResult^,bool>^>>^ argumentsAndExitPredicateList, int millisecondsTimeout )
Parameters
- client
- The client object that will perform the operation.
- argumentsAndExitPredicateList
- List of tuples, where each tuple consists of OPC-DA item group arguments, and a predicate on OpcLabs.EasyOpc.DataAccess.OperationModel.DAVtqResult determining when the wait is complete.
- millisecondsTimeout
- The number of milliseconds to wait, or System.Threading.Timeout.Infinite to wait indefinitely.
Return Value
The function returns an array of OpcLabs.EasyOpc.DataAccess.OperationModel.DAVtqResult objects. The indices of elements in the output array are the same as those in the input list, argumentsAndExitPredicateList.