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

Definición

Devuelve un valor que indica si este Task está asociado con un 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 Task Task Task

Task que se va a comprobar.The Task to check.

Devoluciones

Estado del DispatcherOperation subyacente.The status of the underlying DispatcherOperation.

Comentarios

trueSi está asociado DispatcherOperationa; de lo contrario, false. Tasktrue if the Task is associated with a DispatcherOperation; otherwise, false.

Se aplica a