Partilhar via


ObservableTask<TResult> Constructors

Definition

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

Applies to