TaskExtensions.IsDispatcherOperationTask Method (Task)
.NET Framework (current version)
Returns a value that indicates whether this Task is associated with a DispatcherOperation.
Assembly: System.Windows.Presentation (in System.Windows.Presentation.dll)
Parameters
- this
-
Type:
System.Threading.Tasks.Task
The Task to check.
true if the Task is associated with a DispatcherOperation; otherwise, false.
.NET Framework
Available since 4.5
Available since 4.5
Show: