AsyncTaskManager, classe
Hiérarchie d'héritage
System.Object
Microsoft.TeamFoundation.Threading.AsyncTaskManager
Espace de noms : Microsoft.TeamFoundation.Threading
Assembly : Microsoft.TeamFoundation.Controls (dans Microsoft.TeamFoundation.Controls.dll)
Syntaxe
'Déclaration
Public NotInheritable Class AsyncTaskManager _
Implements IDisposable
public sealed class AsyncTaskManager : IDisposable
Le type AsyncTaskManager expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
![]() |
AsyncTaskManager |
Début
Propriétés
Nom | Description | |
---|---|---|
![]() |
HasPendingTasks |
Début
Méthodes
Nom | Description | |
---|---|---|
![]() |
Cancel | |
![]() |
CancelAll | |
![]() |
Dispose | |
![]() |
Equals | Détermine si l'objet spécifié est identique à l'objet actuel. (Hérité de Object.) |
![]() |
GetAllTasks | |
![]() |
GetHashCode | Sert de fonction de hachage pour un type particulier. (Hérité de Object.) |
![]() |
GetTask | |
![]() |
GetType | Obtient le Type de l'instance actuelle. (Hérité de Object.) |
![]() |
IsTaskPending | |
![]() |
Run(Func<CancellationToken, Task>, CancellationTokenSource, Boolean) | |
![]() |
Run(Object, Func<CancellationToken, Task>, CancellationTokenSource, Boolean) | |
![]() |
Run<T>(Func<CancellationToken, Task<T>>, CancellationTokenSource) | |
![]() |
Run<T>(Object, Func<CancellationToken, Task<T>>, CancellationTokenSource) | |
![]() |
ToString | Retourne une chaîne qui représente l'objet actif. (Hérité de Object.) |
Début
Événements
Nom | Description | |
---|---|---|
![]() |
AsyncTaskFinished | |
![]() |
AsyncTaskStarted | |
![]() |
HasPendingTasksChanged |
Début
Méthodes d'extension
Nom | Description | |
---|---|---|
![]() |
Run | (Défini par AsyncTaskManagerExtensions.) |
Début
Sécurité des threads
Tous les membres static (Shared en Visual Basic) publics de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.