ObservableTask<TResult> Constructors
Definition
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.
Overloads
ObservableTask<TResult>(Task<TResult>) | |
ObservableTask<TResult>(DispatcherOperation) |
ObservableTask<TResult>(Task<TResult>)
public:
ObservableTask(System::Threading::Tasks::Task<TResult> ^ task);
public ObservableTask (System.Threading.Tasks.Task<TResult> task);
new Microsoft.VisualStudio.Imaging.ObservableTask<'Result> : System.Threading.Tasks.Task<'Result> -> Microsoft.VisualStudio.Imaging.ObservableTask<'Result>
Public Sub New (task As Task(Of TResult))
Parameters
- task
- Task<TResult>
Applies to
ObservableTask<TResult>(DispatcherOperation)
public:
ObservableTask(System::Windows::Threading::DispatcherOperation ^ operation);
public ObservableTask (System.Windows.Threading.DispatcherOperation operation);
new Microsoft.VisualStudio.Imaging.ObservableTask<'Result> : System.Windows.Threading.DispatcherOperation -> Microsoft.VisualStudio.Imaging.ObservableTask<'Result>
Public Sub New (operation As DispatcherOperation)
Parameters
- operation
- DispatcherOperation