Waits for timeout value for the given number of processing unit instances of the specified name
to run within the container.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
bool WaitFor( string processingUnitName, int numberOfProcessingUnitInstances, TimeSpan timeout )
Function WaitFor ( _ processingUnitName As String, _ numberOfProcessingUnitInstances As Integer, _ timeout As TimeSpan _ ) As Boolean
bool WaitFor( String^ processingUnitName, int numberOfProcessingUnitInstances, TimeSpan timeout )
boolean WaitFor( String processingUnitName, int numberOfProcessingUnitInstances, TimeSpan timeout )
Parameters
- processingUnitName (String)
- Processing unit name.
- 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.