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)
Syntax
Task ExecuteAsync(
ScheduledJobDescriptor scheduledJobDescriptor,
CancellationToken cancellationToken
)
Task^ ExecuteAsync(
ScheduledJobDescriptor^ scheduledJobDescriptor,
CancellationToken cancellationToken
)
abstract ExecuteAsync :
scheduledJobDescriptor:ScheduledJobDescriptor *
cancellationToken:CancellationToken -> Task
Function ExecuteAsync (
scheduledJobDescriptor As ScheduledJobDescriptor,
cancellationToken As CancellationToken
) As Task
Parameters
scheduledJobDescriptor
Type: Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs.ScheduledJobDescriptorContains information about the scheduled job such as the type, the name, etc.
cancellationToken
Type: System.Threading.CancellationTokenA 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.
See Also
IScheduledJob Interface
Microsoft.WindowsAzure.Mobile.Service.ScheduledJobs Namespace
Return to top