Action Class

Abstract base class that provides the common properties that are inherited by all action objects. An action object is created by the AddNew(TaskActionType) method.


Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.0
public abstract class Action : IDisposable, 
	ICloneable, IEquatable<Action>, INotifyPropertyChanged, IComparable, 
Object    Action
INotifyPropertyChanged, ICloneable, IComparable, IComparableAction, IDisposable, IEquatableAction


ActionTypeGets the type of the action.
IdGets or sets the identifier of the action.


CloneCreates a new object that is a copy of the current instance.
CompareTo Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
CreateActionCreates the specified action.
DisposeReleases all resources used by this class.
Equals(Action)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeReturns a hash code for this instance.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns the action Id.
(Overrides ObjectToString)
ToString(CultureInfo)Returns a String that represents this action.


PropertyChangedOccurs when a property value changes.


unboundValuesList of unbound values when working with Actions not associated with a registered task.

See Also