TaskExtensions.IsDispatcherOperationTask(Task) TaskExtensions.IsDispatcherOperationTask(Task) TaskExtensions.IsDispatcherOperationTask(Task) TaskExtensions.IsDispatcherOperationTask(Task) Method

Définition

Retourne une valeur qui indique si cette Task est associée à une DispatcherOperation.Returns a value that indicates whether this Task is associated with a 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 Task Task

Task à vérifier.The Task to check.

Retours

État de l'DispatcherOperation sous-jacente.The status of the underlying DispatcherOperation.

Remarques

trueSi le Task est associé à un DispatcherOperation; sinon, false.true if the Task is associated with a DispatcherOperation; otherwise, false.

S’applique à