Click or drag to resize

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
C#
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: Boolean
true if the Listener receives a callback; otherwise, false.
See Also