TaskScheduler.Current Propriété
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.
Obtient le TaskScheduler associé à la tâche en cours d'exécution.
public:
static property System::Threading::Tasks::TaskScheduler ^ Current { System::Threading::Tasks::TaskScheduler ^ get(); };
public static System.Threading.Tasks.TaskScheduler Current { get; }
static member Current : System.Threading.Tasks.TaskScheduler
Public Shared ReadOnly Property Current As TaskScheduler
Valeur de propriété
Retourne le TaskScheduler associé à la tâche en cours d'exécution.
Remarques
Lorsqu’il n’est pas appelé à partir d’une tâche, Current retourne le Default planificateur.
Pour plus d'informations, consultez TaskScheduler.