Click or drag to resize
Task Scheduler Managed Class Library

ActionCollection Methods

The ActionCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd(String, String, String)
Adds an ExecAction to the task.
Public methodAddTAction(TAction)
Adds an action to the task.
Public methodAddNew
Adds a new Action instance to the task.
Public methodAddRange
Adds a collection of actions to the end of the ActionCollection.
Public methodClear
Clears all actions from the task.
Public methodContains
Public methodContainsType
Determines whether the specified action type is contained in this collection.
Public methodCopyTo(Action, Int32)
Copies the elements of the ActionCollection to an array of Action, starting at a particular index.
Public methodCopyTo(Int32, Action, Int32, Int32)
Copies the elements of the ActionCollection to an Action array, starting at a particular Action array index.
Public methodDispose
Releases all resources used by this class.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from 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 methodFind
Searches for an Action that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire collection.
Public methodFindIndexOf(PredicateAction)
Searches for an Action that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the collection.
Public methodFindIndexOf(Int32, Int32, PredicateAction)
Searches for an Action that matches the conditions defined by the specified predicate, and returns the zero-based index of the first occurrence within the collection that starts at the specified index and contains the specified number of elements.
Public methodGetEnumerator
Retrieves an enumeration of each of the actions.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf(Action)
Public methodIndexOf(String)
Public methodInsert
Inserts an action at the specified index.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Public methodRemoveAt
Removes the action at a specified index.
Public methodToArray
Copies the elements of the ActionCollection to a new array.
Public methodToString
Returns a String that represents the actions in this collection.
(Overrides ObjectToString.)
Top
See Also