Waits for timeout value for the given number of processing unit instances to run within the container.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
bool WaitFor( int numberOfProcessingUnitInstances, TimeSpan timeout )
Function WaitFor ( _ numberOfProcessingUnitInstances As Integer, _ timeout As TimeSpan _ ) As Boolean
bool WaitFor( int numberOfProcessingUnitInstances, TimeSpan timeout )
boolean WaitFor( int numberOfProcessingUnitInstances, TimeSpan timeout )
Parameters
- numberOfProcessingUnitInstances (Int32)
- The number of processing unit instances to wait for.
- timeout (TimeSpan)
- Time to wait.
Return Value
true if the number was reached, false if the timeout expired.