TaskExtensions.IsDispatcherOperationTask(Task) 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.
Retourne une valeur qui indique si elle Task est associée à un DispatcherOperation.
public:
[System::Runtime::CompilerServices::Extension]
static bool IsDispatcherOperationTask(System::Threading::Tasks::Task ^ this);
public static bool IsDispatcherOperationTask(this System.Threading.Tasks.Task this);
static member IsDispatcherOperationTask : -> bool
<Extension()>
Public Function IsDispatcherOperationTask (this As Task) As Boolean
Paramètres
Retours
État du sous-jacent DispatcherOperation.
Remarques
true si l’objet Task est associé à un DispatcherOperation; sinon, false.