Waits for SetDefaultTimeout(TimeSpan) till 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 )
Function WaitFor ( _ processingUnitName As String, _ numberOfProcessingUnitInstances As Integer _ ) As Boolean
bool WaitFor( String^ processingUnitName, int numberOfProcessingUnitInstances )
boolean WaitFor( String processingUnitName, int numberOfProcessingUnitInstances )
Parameters
- processingUnitName (String)
- Processing unit name.
- numberOfProcessingUnitInstances (Int32)
- The number of processing unit instances to wait for.
Return Value
true if the number was reached, false if the timeout expired.