Contents

BGTaskScheduler.Error.Code.immediateRunIneligible

A task scheduling error that indicates a task request didn’t run immediately due to system conditions.

Declaration

case immediateRunIneligible

Discussion

The framework throws this error when a BGContinuedProcessingTaskRequest that your app submits with strategy set to BGContinuedProcessingTaskRequest.SubmissionStrategy.fail isn’t able to begin right away due to runtime conditions.

If the task that fails submission is of high importance and your app has other tasks submitted, you can try canceling the other task requests and resubmit the failed request.

See Also

Identifying an error