TaskExtensions.IsDispatcherOperationTask(Task) Metod

Definition

Returnerar ett värde som anger om detta Task är associerat med en 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

Parametrar

this
Task

Att Task kontrollera.

Returer

Status för den underliggande DispatcherOperation.

Kommentarer

true Task om är associerad med en DispatcherOperation, annars , false.

Gäller för