TaskOptionsEditor Class

Dialog that allows tasks to be edited

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
[ToolboxBitmapAttribute(typeof(TaskEditDialog), "TaskDialog")]
[DefaultPropertyAttribute("Editable")]
public class TaskOptionsEditor : DialogBase, 
	ITaskEditor, ITaskDefinitionEditor
Inheritance
Object    MarshalByRefObject    Component    Control    ScrollableControl    ContainerControl    Form    DialogBase    TaskOptionsEditor
Implements
ITaskDefinitionEditor, ITaskEditor

Constructors

TaskOptionsEditorInitializes a new instance of the TaskOptionsEditor class.
TaskOptionsEditor(Task, Boolean, Boolean)Initializes a new instance of the TaskOptionsEditor class.
TaskOptionsEditor(TaskService, TaskDefinition, Boolean, Boolean, String, String)Initializes a new instance of the TaskOptionsEditor class.

Properties

AvailableActionsGets or sets the available actions.
AvailableTriggersGets or sets the available triggers.
ContainerGets the IContainer that contains the Component.
(Inherited from Component)
ConvertResourceStringReferencesGets or sets a value indicating whether to convert references to resource strings in libraries to their value.
DesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
EditableGets or sets a value indicating whether this TaskEditDialog is editable.
EventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
IsV2Gets or sets a value indicating whether this task definition is v2.
RegisterTaskOnAcceptGets or sets a value indicating whether to register task when Accept (OK) button pressed.
ShowActionRunButtonGets or sets a value indicating whether a button is shown when editing an action that allows user to execute the current action.
ShowConvertActionsToPowerShellCheck 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.
ShowErrorsGets or sets a value indicating whether errors are shown in the UI.
Task Gets the current Task. This is only the task used to initialize this control. The updates made to the control are not registered.
TaskDefinitionGets the TaskDefinition in its edited state.
TaskFolder 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.
TaskName 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.
TaskNameIsEditable 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.
TaskServiceGets the TaskService assigned at initialization.
TitleGets or sets the title.

Methods

CreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
DisposeReleases all resources used by the Component.
(Inherited from Component)
Dispose(Boolean) Clean up any resources being used.
(Overrides FormDispose(Boolean))
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
GetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Initialize(Task)Initializes the control for the editing of an existing Task.
Initialize(TaskService, TaskDefinition, String, String)Initializes the control for the editing of a new TaskDefinition.
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
OnParentFontChanged Raises the FontChanged event when the Font property value of the control's container changes.
(Overrides ControlOnParentFontChanged(EventArgs))
ReinitializeControlsReinitializes all the controls based on current TaskDefinition values.

Events

DisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)

See Also