IScheduledJob.ExecuteAsync Method (ScheduledJobDescriptor, CancellationToken)
Executes the scheduled job provided a scheduledJobDescriptor and an cancellationToken.
Assembly: Microsoft.WindowsAzure.Mobile.Service (in Microsoft.WindowsAzure.Mobile.Service.dll)
Task ExecuteAsync( ScheduledJobDescriptor scheduledJobDescriptor, CancellationToken cancellationToken )
Parameters
- scheduledJobDescriptor
-
Type:
Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.ScheduledJobDescriptor
Contains information about the scheduled job such as the type, the name, etc.
- cancellationToken
-
Type:
System.Threading.CancellationToken
A cancellation token allowing the scheduled job to be cancelled.
Return Value
Type: System.Threading.Tasks.TaskA Task representing the execution of the scheduled job.
Show: