Click or drag to resize
Task Scheduler Managed Class Library

TaskOptionsEditor Class

Dialog that allows tasks to be edited
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.ComponentModelComponent
      System.Windows.FormsControl
        System.Windows.FormsScrollableControl
          System.Windows.FormsContainerControl
            System.Windows.FormsForm
              DialogBase
                Microsoft.Win32.TaskSchedulerTaskOptionsEditor

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.12.1
Syntax
C#
[ToolboxBitmapAttribute(typeof(TaskEditDialog), "TaskDialog")]
[DefaultPropertyAttribute("Editable")]
public class TaskOptionsEditor : DialogBase, 
	ITaskEditor, ITaskDefinitionEditor
Request Example View Source

The TaskOptionsEditor type exposes the following members.

Constructors
 NameDescription
Public methodTaskOptionsEditorInitializes 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 propertyAvailableActionsGets or sets the available actions.
Public propertyAvailableTriggersGets or sets the available triggers.
Public propertyContainerGets the IContainer that contains the Component.
(Inherited from Component)
Public propertyConvertResourceStringReferencesGets or sets a value indicating whether to convert references to resource strings in libraries to their value.
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
Public propertyEditableGets or sets a value indicating whether this TaskEditDialog is editable.
Protected propertyEventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
Public propertyIsV2Gets or sets a value indicating whether this task definition is v2.
Public propertyRegisterTaskOnAcceptGets or sets a value indicating whether to register task when Accept (OK) button pressed.
Public propertyShowActionRunButtonGets 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 propertyShowErrorsGets 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 propertyTaskDefinitionGets 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 propertyTaskServiceGets the TaskService assigned at initialization.
Public propertyTitleGets or sets the title.
Top
Methods
 NameDescription
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Public methodDisposeReleases all resources used by the Component.
(Inherited from Component)
Protected methodDispose(Boolean) Clean up any resources being used.
(Overrides FormDispose(Boolean))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Public methodGetTypeGets 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 methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Protected methodMemberwiseCloneCreates 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 methodReinitializeControlsReinitializes all the controls based on current TaskDefinition values.
Top
Events
 NameDescription
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)
Top
See Also