IScheduledJob.ExecuteAsync(ScheduledJobDescriptor, CancellationToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Exécute le travail planifié fourni un scheduledJobDescriptor
et un 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
Paramètres
- scheduledJobDescriptor
- ScheduledJobDescriptor
Contient des informations sur le travail planifié, telles que le type, le nom, etc.
- cancellationToken
- CancellationToken
Jeton d’annulation permettant l’annulation du travail planifié.
Retours
Task représentant l’exécution du travail planifié.
S’applique à
Azure SDK for .NET