System::Threading::Tasks::ValueTask class
Contents
[
Hide
]ValueTask class
Provides an awaitable result of an asynchronous operation.
class ValueTask : public System::IEquatable<ValueTask>,
public System::Details::BoxableObjectBase
Methods
| Method | Description |
|---|---|
| AsTask() const | Converts this ValueTask to a shared pointer to Task. |
| ConfigureAwait(bool) const | Configures an awaiter for this task. |
| Equals(ValueTask) override | Determines whether this instance equals another ValueTask instance. |
| Equals(System::SharedPtr<System::Object>) override | Determines whether this instance equals another object. |
| get_IsCanceled() const | Gets a value indicating whether the task completed due to being canceled. |
| get_IsCompleted() const | Gets a value indicating whether the task has completed. |
| get_IsCompletedSuccessfully() const | Gets a value indicating whether the task completed successfully. |
| get_IsFaulted() const | Gets a value indicating whether the task completed due to an unhandled exception. |
| GetAwaiter() const | Gets an awaiter for this task to support await expressions. |
| operator!=(const ValueTask&) const | Inequality operator for ValueTask. |
| operator==(const ValueTask&) const | Equality operator for ValueTask. |
| ValueTask() | Constructs an empty, uninitialized ValueTask. |
| ValueTask(const TaskPtr&) | Constructs a ValueTask from a shared pointer to a Task. |
See Also
- Class IEquatable
- Namespace System::Threading::Tasks
- Library Aspose.PDF for C++