IJobWaitUntilDone Method (Int32, Action, Int32)

Blocks until all tasks in this job complete or the operation times out. The callback passed in for the heartbeat is called with the period specified by the millisecondsHeartbeat argument.
Namespace:  AGI.Parallel.Infrastructure
Assembly:  AGI.Parallel.Infrastructure (in AGI.Parallel.Infrastructure.dll) Version: 1.4.0.476 (1.4.0.476)
Syntax
bool WaitUntilDone(
        int millisecondsTimeout,
        Action heartbeatCallback,
        int millisecondsHeartbeat
)

Parameters

millisecondsTimeout
Type: SystemInt32
The timeout (in milliseconds).
heartbeatCallback
Type: SystemAction
The heartbeat callback.
millisecondsHeartbeat
Type: SystemInt32
The heartbeat period (in milliseconds).

Return Value

Type: Boolean
True if job completed, False if timed-out.
Exceptions
Exception Condition
InfrastructureException If error occurs with job scheduler such as the client timing out.
See Also

STK Scalability 1.4 API for .NET