BackgroundCommand Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.TeamFoundation.MVVM
Assembly:  Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)

public abstract class BackgroundCommand : NotifyPropertyChangedDispatcherObject, 
	IOwnedCommand, ICommand

The BackgroundCommand type exposes the following members.

  NameDescription
Public propertyDispatcherDispatcher associated with this object. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public propertyIsBusy
Top

  NameDescription
Protected methodAddDependencySource(String, INotifyCollectionChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodAddDependencySource(String, INotifyPropertyChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodCancel
Public methodCanExecute
Public methodCheckAccessBeginExecuteExecutes the specified action on a thread associated with object's dispatcher. This invokes a BeginInvoke on the Dispatcher, does not wait for the action to complete -- returns immediately. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodCheckAccessExecute(Action)Executes the specified action on a thread associated with object's dispatcher. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodCheckAccessExecute<TResult>(Func<TResult>)Executes the specified action on a thread associated with object's dispatcher. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodCreateWorkerArgument
Protected methodDoBackgroundWork
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExecute
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected methodGetDependencySourceName(INotifyCollectionChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodGetDependencySourceName(INotifyPropertyChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnBackgroundWorkCompleted
Protected methodPreExecuteValidate
Public methodRaiseCanExecuteChanged
Protected methodRaisePropertyChangedRaises PropertyChanged event. This method can only be called on the thread associated with this object's dispatcher. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodReceiveWeakEvent (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodRemoveDependencySource(String, INotifyCollectionChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodRemoveDependencySource(String, INotifyPropertyChanged) (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodSetAndRaisePropertyChanged(Boolean, Boolean, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for System.Boolean type. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodSetAndRaisePropertyChanged(Int32, Int32, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for System.Int32 type. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodSetAndRaisePropertyChanged(String, String, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. Optimized implementation for string type. (Inherited from NotifyPropertyChangedDispatcherObject.)
Protected methodSetAndRaisePropertyChanged<T>(T, T, String)A helper method that sets property value and raises PropertyChanged event if the value has changed. (Inherited from NotifyPropertyChangedDispatcherObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodVerifyAccessEnforces that the calling thread has access to this object. (Inherited from NotifyPropertyChangedDispatcherObject.)
Top

  NameDescription
Public eventCanExecuteChanged
Public eventPropertyChangedOccurs when a property value changes. (Inherited from NotifyPropertyChangedDispatcherObject.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: