TaskExtensions.IsDispatcherOperationTask(Task) Método

Definição

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

Parâmetros

this
Task

O Task a ser verificado.The Task to check.

Retornos

O status do DispatcherOperation subjacente.The status of the underlying DispatcherOperation.

Comentários

trueSe o Task estiver associado DispatcherOperationa; caso contrário, false.true if the Task is associated with a DispatcherOperation; otherwise, false.

Aplica-se a