TaskFactoryExtensions, classe
Dans cet article
Hiérarchie d'héritage
System.Object
Microsoft.TeamFoundation.Threading.TaskFactoryExtensions
Espace de noms : Microsoft.TeamFoundation.Threading
Assembly : Microsoft.TeamFoundation.Controls (dans Microsoft.TeamFoundation.Controls.dll)
Syntaxe
'Déclaration
<ExtensionAttribute> _
Public NotInheritable Class TaskFactoryExtensions
public static class TaskFactoryExtensions
Méthodes
FromAsync(TaskFactory, Func<AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TResult>(TaskFactory, Func<AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1>(TaskFactory, Func<TArg1, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>, TArg1, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TResult>(TaskFactory, Func<TArg1, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2>(TaskFactory, Func<TArg1, TArg2, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>, TArg1, TArg2, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2, TResult>(TaskFactory, Func<TArg1, TArg2, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2, TArg3>(TaskFactory, Func<TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>, TArg1, TArg2, TArg3, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2, TArg3, TResult>(TaskFactory, Func<TArg1, TArg2, TArg3, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, TArg3, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2, TArg3, TArg4>(TaskFactory, Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>, TArg1, TArg2, TArg3, TArg4, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2, TArg3, TArg4, TResult>(TaskFactory, Func<TArg1, TArg2, TArg3, TArg4, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, TArg3, TArg4, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2, TArg3, TArg4, TArg5>(TaskFactory, Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, Object, IAsyncResult>, Action<IAsyncResult>, TArg1, TArg2, TArg3, TArg4, TArg5, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
FromAsync<TArg1, TArg2, TArg3, TArg4, TArg5, TResult>(TaskFactory, Func<TArg1, TArg2, TArg3, TArg4, TArg5, AsyncCallback, Object, IAsyncResult>, Func<IAsyncResult, TResult>, TArg1, TArg2, TArg3, TArg4, TArg5, Object, CancellationToken, TaskCreationOptions, TaskScheduler)
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.
Voir aussi
Référence
Microsoft.TeamFoundation.Threading, espace de noms