Click or drag to resize
Task Scheduler Managed Class Library

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.
Inheritance Hierarchy

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public abstract class Action : IDisposable, 
	ICloneable, IEquatable<Action>, INotifyPropertyChanged, IComparable, 
	IComparable<Action>
Request Example View Source

The Action type exposes the following members.

Properties
  NameDescription
Public propertyActionType
Gets the type of the action.
Public propertyId
Gets or sets the identifier of the action.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodCompareTo
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.
Public methodStatic memberCreateAction
Creates the specified action.
Public methodDispose
Releases all resources used by this class.
Public methodEquals(Action)
Indicates whether the current object is equal to another object of the same type.
Public methodEquals(Object)
Determines whether the specified Object, is equal to this instance.
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns a hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns the action Id.
(Overrides ObjectToString.)
Public methodToString(CultureInfo)
Returns a String that represents this action.
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value changes.
Top
Fields
  NameDescription
Protected fieldunboundValues
List of unbound values when working with Actions not associated with a registered task.
Top
See Also