Click or drag to resize
Task Scheduler Managed Class Library

TaskOptionsEditor Class

Dialog that allows tasks to be edited
Inheritance Hierarchy

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.10.1
Syntax
public class TaskOptionsEditor : DialogBase, 
	ITaskEditor, ITaskDefinitionEditor
Request Example View Source

The TaskOptionsEditor type exposes the following members.

Constructors
  NameDescription
Public methodTaskOptionsEditor
Initializes a new instance of the TaskOptionsEditor class.
Public methodTaskOptionsEditor(Task, Boolean, Boolean)
Initializes a new instance of the TaskOptionsEditor class.
Public methodTaskOptionsEditor(TaskService, TaskDefinition, Boolean, Boolean, String, String)
Initializes a new instance of the TaskOptionsEditor class.
Top
Properties
  NameDescription
Public propertyAvailableActions
Gets or sets the available actions.
Public propertyAvailableTriggers
Gets or sets the available triggers.
Public propertyContainer
Gets the IContainer that contains the Component.
(Inherited from Component.)
Public propertyConvertResourceStringReferences
Gets or sets a value indicating whether to convert references to resource strings in libraries to their value.
Protected propertyDesignMode
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component.)
Public propertyEditable
Gets or sets a value indicating whether this TaskEditDialog is editable.
Protected propertyEvents
Gets the list of event handlers that are attached to this Component.
(Inherited from Component.)
Public propertyIsV2
Gets or sets a value indicating whether this task definition is v2.
Public propertyRegisterTaskOnAccept
Gets or sets a value indicating whether to register task when Accept (OK) button pressed.
Public propertyShowActionRunButton
Gets or sets a value indicating whether a button is shown when editing an action that allows user to execute the current action.
Public propertyShowConvertActionsToPowerShellCheck
Gets or sets a value indicating whether a check box is shown on Actions tab that allows user to specify if PowerShell may be used to convert unsupported actions.
Public propertyShowErrors
Gets or sets a value indicating whether errors are shown in the UI.
Public propertyTask
Gets the current Task. This is only the task used to initialize this control. The updates made to the control are not registered.
Public propertyTaskDefinition
Gets the TaskDefinition in its edited state.
Public propertyTaskFolder
Gets or sets the folder for the task. If control is initialized with a Task, this value will be set to the folder of the registered task.
Public propertyTaskName
Gets or sets the name of the task. If control is initialized with a Task, this value will be set to the name of the registered task.
Public propertyTaskNameIsEditable
If setup with a TaskDefinition and not a Task, and if Editable is true, then you can set this value to false to prevent the user from editing the TaskName.
Public propertyTaskService
Gets the TaskService assigned at initialization.
Public propertyTitle
Gets or sets the title.
Top
Methods
  NameDescription
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose
Releases all resources used by the Component.
(Inherited from Component.)
Protected methodDispose(Boolean)
Clean up any resources being used.
(Overrides FormDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodGetService
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize(Task)
Initializes the control for the editing of an existing Task.
Public methodInitialize(TaskService, TaskDefinition, String, String)
Initializes the control for the editing of a new TaskDefinition.
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Protected methodOnParentFontChanged
Raises the FontChanged event when the Font property value of the control's container changes.
(Overrides ControlOnParentFontChanged(EventArgs).)
Public methodReinitializeControls
Reinitializes all the controls based on current TaskDefinition values.
Top
Events
  NameDescription
Public eventDisposed
Occurs when the component is disposed by a call to the Dispose method.
(Inherited from Component.)
Top
See Also