NotifyTaskCompletion<TResult> 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.
Helper class to wrap around a Task to provide more information usable for UI databinding scenarios. As discussed in MSDN Magazine: https://msdn.microsoft.com/magazine/dn605875.
public sealed class NotifyTaskCompletion<TResult> : System.ComponentModel.INotifyPropertyChanged
type NotifyTaskCompletion<'Result> = class
interface INotifyPropertyChanged
Public NotInheritable Class NotifyTaskCompletion(Of TResult)
Implements INotifyPropertyChanged
- TResult
Type of result returned by task.
- Inheritance
-
NotifyTaskCompletion<TResult>
- Implements
Notify |
Initializes a new instance of the NotifyTaskCompletion<TResult> class. |
Error |
Gets the error message of the task. |
Exception |
Gets the exception which occured on the task (if one occurred). |
Inner |
Gets the inner exception of the task. |
Is |
Gets a value indicating whether the task was cancelled. |
Is |
Gets a value indicating whether the task is completed. |
Is |
Gets a value indicating whether there was an error with the task. |
Is |
Gets a value indicating whether the task is not completed. |
Is |
Gets a value indicating whether the task was successfully completed. |
Result |
Gets the result of the given task. |
Status |
Gets the status of the task. |
Task |
Gets the task that is being waited on. |
Task |
Gets the task wrapper task. |
Property |
PropertyChanged event. |