TaskExtensions.IsDispatcherOperationTask(Task) Méthode

Définition

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

this
Task

À Task vérifier.

Retours

État du sous-jacent DispatcherOperation.

Remarques

true si l’objet Task est associé à un DispatcherOperation; sinon, false.

S’applique à