IScheduledJob.ExecuteAsync Method (ScheduledJobDescriptor, CancellationToken)

 

Executes the scheduled job provided a scheduledJobDescriptor and an cancellationToken.

Namespace:   Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs
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.Task

A Task representing the execution of the scheduled job.

Return to top
Show: