IJobServiceRunJobAsync Method (Guid, IReadOnlyDictionaryGuid, TaskInt64, RelatedJobsIncludeKinds) |
Namespace: Dundas.BI.Scheduling
Task RunJobAsync( Guid jobId, out IReadOnlyDictionary<Guid, Task<long>> jobRunIdTasks, RelatedJobsIncludeKinds relatedJobsIncludeKinds )
| Exception | Condition |
|---|---|
| ArgumentException | jobId is Empty. |
| NotFoundException | The original job could not be found. |
| JobAlreadyRunningException | The job is already running. |
| InvalidOperationException | The job has been deleted. -or- The job is disabled. |
| NoPrivilegeException | The caller does not have permission to run the job. |
| InvalidSessionException | The caller context is not associated with a valid session. |
| AggregateException | One or more errors occurred. |