Share via


ObservableTask<TResult> Class

Definition

generic <typename TResult>
public ref class ObservableTask : Microsoft::VisualStudio::PlatformUI::ObservableObject
public class ObservableTask<TResult> : Microsoft.VisualStudio.PlatformUI.ObservableObject
type ObservableTask<'Result> = class
    inherit ObservableObject
Public Class ObservableTask(Of TResult)
Inherits ObservableObject

Type Parameters

TResult
Inheritance
ObservableTask<TResult>

Constructors

ObservableTask<TResult>(DispatcherOperation)
ObservableTask<TResult>(Task<TResult>)

Properties

HasPropertyChangedEventSinks

Returns a value indicating whether this object's PropertyChanged event has any subscriptions

(Inherited from ObservableObject)
Result

Methods

FromResult(TResult)
GetAwaiter()
NotifyPropertyChanged(String)

The method that is called when a property has changed.

(Inherited from ObservableObject)
SetProperty(IntPtr, IntPtr, String) (Inherited from ObservableObject)
SetProperty(UIntPtr, UIntPtr, String) (Inherited from ObservableObject)
SetProperty<T>(T, T, Action, String)

Checks for a change to a value, and if the value is different, stores the value and notifies of property changes.

(Inherited from ObservableObject)
SetProperty<T>(T, T, Action<T,T>, String)

Checks for a change to a value, and if the value is different, stores the value and notifies of property changes.

(Inherited from ObservableObject)
SetProperty<T>(T, T, String)

Checks for a change to a value, and if the value is different, stores the value and notifies of property changes.

(Inherited from ObservableObject)

Events

PropertyChanged

The event that is raised when a property has changed.

(Inherited from ObservableObject)

Applies to