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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET