TaskExtensions Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a set of static
methods that extend the Task class.
public ref class TaskExtensions abstract sealed
public static class TaskExtensions
type TaskExtensions = class
Public Module TaskExtensions
- Inheritance
-
TaskExtensions
The methods in this class are defined as extension methods that extend the Task class. This means that they can be called like an instance method on any Task object. The methods in this class operate on Task objects that are associated with a Dispatcher object.
Dispatcher |
Waits for the specified amount of time for the underlying DispatcherOperation to complete. |
Dispatcher |
Waits indefinitely for the underlying DispatcherOperation to complete. |
Is |
Returns a value that indicates whether this Task is associated with a DispatcherOperation. |
Producto | Versiones |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: