TaskExtensions.IsDispatcherOperationTask(Task) Método

Definição

Retorna um valor que indica se este Task está associado a um 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

Parâmetros

this
Task

O Task a ser verificado.

Retornos

Boolean

O status do DispatcherOperation subjacente.

Comentários

true se o Task estiver associado a um DispatcherOperation; caso contrário, false. .

Aplica-se a