Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TaskExtensions::IsDispatcherOperationTask Method (Task^)

.NET Framework (current version)
 

Returns a value that indicates whether this Task is associated with a DispatcherOperation.

Namespace:   System.Windows.Threading
Assembly:  System.Windows.Presentation (in System.Windows.Presentation.dll)

public:
[ExtensionAttribute]
static bool IsDispatcherOperationTask(
	Task^ this
)

Parameters

this
Type: System.Threading.Tasks::Task^

The Task to check.

Return Value

Type: System::Boolean

The status of the underlying DispatcherOperation.

true if the Task is associated with a DispatcherOperation; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: