IScheduledJob.ExecuteAsync(ScheduledJobDescriptor, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes the scheduled job provided a scheduledJobDescriptor
and an cancellationToken
.
public System.Threading.Tasks.Task ExecuteAsync (Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.ScheduledJobDescriptor scheduledJobDescriptor, System.Threading.CancellationToken cancellationToken);
abstract member ExecuteAsync : Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.ScheduledJobDescriptor * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function ExecuteAsync (scheduledJobDescriptor As ScheduledJobDescriptor, cancellationToken As CancellationToken) As Task
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET