TaskPropertiesControl Class

Control which allows for the editing of all properties of a TaskDefinition.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskSchedulerEditor (in Microsoft.Win32.TaskSchedulerEditor.dll) Version: 2.11.1
[DefaultPropertyAttribute("AvailableTabs")]
[DefaultEventAttribute("ComponentError")]
[ToolboxBitmapAttribute(typeof(TaskEditDialog), "TaskControl")]
public class TaskPropertiesControl : UserControl, 
	ITaskEditor, ITaskDefinitionEditor
Inheritance
Object    MarshalByRefObject    Component    Control    ScrollableControl    ContainerControl    UserControl    TaskPropertiesControl
Implements
ITaskDefinitionEditor, ITaskEditor

Constructors

TaskPropertiesControlInitializes a new instance of the TaskPropertiesControl class.

Properties

AvailableActionsGets or sets the available actions.
AvailableTabsGets or sets the available tabs.
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 TaskPropertiesControl is editable.
EventsGets the list of event handlers that are attached to this Component.
(Inherited from Component)
HasErrorGets or sets a value indicating whether this instance has error.
IsV2Gets or sets a value indicating whether this task definition is v2.
MaxHistoryCountGets or sets the maximum history count. Use -1 for infinite or to retrieve all items.
ShowActionRunButtonGets or sets a value indicating whether a button is shown when editing an action that allows user to execute the current action.
ShowAddedPropertiesTabGets or sets a value indicating whether to show the 'Additions' tab.
Obsolete.
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.
ShowRegistrationInfoTabGets or sets a value indicating whether to show the 'Info' tab.
Obsolete.
ShowRunTimesTabGets or sets a value indicating whether to show the 'Run Times' tab.
Obsolete.
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.

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 ContainerControlDispose(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)
OnComponentErrorRaises the ComponentError event.
ReinitializeControlsReinitializes all the controls based on current TaskDefinition values.
ToStringReturns a String containing the name of the Component, if any. This method should not be overridden.
(Inherited from Component)

Events

ComponentErrorOccurs when a component entry has an error.
DisposedOccurs when the component is disposed by a call to the Dispose method.
(Inherited from Component)

See Also