| JobRunnerBaseTStarted, TProgress, TEvents, TCompleted, TStartJobArgsRunAsync Method |
Start the backup of stored BackupSet asynchronously and await for the completion of the execution.
Namespace:
SOS.SDK.Tools.Runners
Assembly:
SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax public Task RunAsync(
TStartJobArgs startJobArgs,
TimeSpan waitingTimeout,
CancellationToken cancel
)
Parameters
- startJobArgs
- Type: TStartJobArgs
Starting Job arguments. - waitingTimeout
- Type: SystemTimeSpan
Timeout for the end of the operation.
If the operation does not finish within the specified time, the operation ends with TimeoutException.
The operation continues to run on the server.
- cancel
- Type: System.ThreadingCancellationToken
Cancellation for JobRunner.
Return Value
Type:
TaskAwaitable task for waiting for the Job completion.
See Also