TaskExtensions.IsDispatcherOperationTask(Task) Método

Definição

Devolve um valor que indica se isto 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 para verificar.

Devoluções

O estado do subjacente DispatcherOperation.

Observações

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

Aplica-se a