IScheduledJob.ExecuteAsync(ScheduledJobDescriptor, CancellationToken) Method

Definition

Executes the scheduled job provided a scheduledJobDescriptor and an cancellationToken.

C#
public System.Threading.Tasks.Task ExecuteAsync(Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.ScheduledJobDescriptor scheduledJobDescriptor, System.Threading.CancellationToken cancellationToken);

Parameters

scheduledJobDescriptor
ScheduledJobDescriptor

Contains information about the scheduled job such as the type, the name, etc.

cancellationToken
CancellationToken

A cancellation token allowing the scheduled job to be cancelled.

Returns

A Task representing the execution of the scheduled job.

Applies to

Продукт Версії
Azure SDK for .NET Legacy