| JobSessionAggregatedListenerBaseTStarted, TProgress, TEvents, TCompletedWaitForCompletion Method (TimeSpan) |
Wait for Job completion.
Blocks the current thread until JobCompleted callbacks is not received.
Namespace:
SOS.SDK.Tools.Listeners.AggregatedListeners
Assembly:
SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax public bool WaitForCompletion(
TimeSpan timeout
)
Parameters
- timeout
- Type: SystemTimeSpan
A TimeSpan that represents the number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely.
Return Value
Type:
Booleantrue if the Listener receives a callback; otherwise, false.
See Also