📄 taskscheduler.xml
字号:
<?xml version="1.0"?>
<doc>
<assembly>
<name>TaskScheduler</name>
</assembly>
<members>
<member name="T:TaskScheduler.TaskFlags">
<summary>
Flags which indicate options for the task
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.Interactive">
<summary>
This flag is used when converting Windows NT AT service jobs into work items. The Windows NT AT service job refers to At.exe, the Windows NT command-line utility used for creating jobs for the Windows NT Schedule service. The Task Scheduler service replaces the Schedule service and is backwards compatible with it. The conversion occurs when the Task Scheduler is installed on Windows NT/Windows 2000 銉籪or example, if you install Internet Explorer 4.0, or upgrade to Windows 2000. During the setup process, the Task Scheduler installation code searches the registry for jobs created for the AT service and creates work items that will accomplish the same operation. For such converted jobs, the interactive flag is set if the task is intended to be displayed to the user. When this flag is not set, no work items are displayed in the Tasks folder, and no user interface associated with the task is presented to the user when the task is executed.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.DeleteWhenDone">
<summary>
The task will be deleted when there are no more scheduled run times.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.Disabled">
<summary>
The task is disabled. This is useful to temporarily prevent a task from running at the scheduled time(s).
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.StartOnlyIfIdle">
<summary>
The task begins only if the computer is not in use at the scheduled start time. Windows 95 only.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.KillOnIdleEnd">
<summary>
The task terminates if the computer makes an idle to non-idle transition while the task is running. The computer is not considered idle until the IdleWait triggers' time elapses with no user input. Windows 95 only. For information regarding idle triggers, see <see cref="T:TaskScheduler.OnIdleTrigger"/>.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.DontStartIfOnBatteries">
<summary>
The task does not start if its target computer is running on battery power. Windows 95 only.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.KillIfGoingOnBatteries">
<summary>
The task ends, and the associated application quits if the task's target computer switches to battery power. Windows 95 only.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.RunOnlyIfDocked">
<summary>
The task runs only if the system is docked. Windows 95 only.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.Hidden">
<summary>
The task is hidden. When the task begins execution, it runs in a hidden window.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.RunIfConnectedToInternet">
<summary>
The task runs only if there is currently a valid Internet connection. Note This feature is currently not implemented.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.RestartOnIdleResume">
<summary>
The task starts again if the computer makes a non-idle to idle transition before all the task's task_triggers elapse. (Use this flag in conjunction with KillOnIdleEnd.) Windows 95 only.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.SystemRequired">
<summary>
The task runs only if the SYSTEM account is available.
</summary>
</member>
<member name="F:TaskScheduler.TaskFlags.RunOnlyIfLoggedOn">
<summary>
The task runs only if the user specified in SetAccountInformation is logged on interactively. This flag has no effect on work items set to run in the local account.
</summary>
</member>
<member name="T:TaskScheduler.TaskStatus">
<summary>
Current status values for a task
</summary>
</member>
<member name="F:TaskScheduler.TaskStatus.Ready">
<summary>
The task is ready to run at its next scheduled time.
</summary>
</member>
<member name="F:TaskScheduler.TaskStatus.Running">
<summary>
The task is currently running.
</summary>
</member>
<member name="F:TaskScheduler.TaskStatus.NotScheduled">
<summary>
One or more of the properties that are needed to run this task on a schedule have not been set.
</summary>
</member>
<member name="T:TaskScheduler.Task">
<summary>
Represents a scheduled task on the system
</summary>
</member>
<member name="F:TaskScheduler.Task.iTask">
<summary>
Internal COM interface
</summary>
</member>
<member name="F:TaskScheduler.Task.name">
<summary>
Name of task (with extension removed)
</summary>
</member>
<member name="F:TaskScheduler.Task.triggers">
<summary>
List of triggers for current task
</summary>
</member>
<member name="F:TaskScheduler.Task.setHiddenAttemptFailed">
<summary>
Set to true if Hidden property is used on a task that has not been saved.
</summary>
</member>
<member name="F:TaskScheduler.Task.failedHiddenValue">
<summary>
Captures user request if setHiddenAttemptFailed is true
</summary>
</member>
<member name="M:TaskScheduler.Task.#ctor(TaskSchedulerInterop.ITask,System.String)">
<summary>
Internal constructor for a task. Tasks can only be accessed through <see cref="P:TaskScheduler.Scheduler.Tasks"/>.
</summary>
<param name="iTask">Instance of an ITask</param>
<param name="taskName">Display name of the task</param>
</member>
<member name="M:TaskScheduler.Task.Run">
<summary>
Executes the task
</summary>
</member>
<member name="M:TaskScheduler.Task.Save">
<summary>
Saves the current task and commits it to the system
</summary>
</member>
<member name="M:TaskScheduler.Task.SetAccountInformation(System.String,System.String)">
<summary>
Sets the account and password under which the task will run
</summary>
<param name="accountName">Full account name (e.g. "DOMAIN\user")</param>
<param name="password">Password for the account</param>
</member>
<member name="M:TaskScheduler.Task.Terminate">
<summary>
Terminate the task if it is currently running
</summary>
</member>
<member name="M:TaskScheduler.Task.ToString">
<summary>
Overridden. Outputs the name of the task, the application and parameters
</summary>
<returns>String representing task</returns>
</member>
<member name="M:TaskScheduler.Task.Dispose">
<summary>
Disposes object
</summary>
</member>
<member name="P:TaskScheduler.Task.Name">
<summary>
Gets the display name of the task
</summary>
</member>
<member name="P:TaskScheduler.Task.Triggers">
<summary>
Gets the list of triggers associated with the task
</summary>
</member>
<member name="P:TaskScheduler.Task.Hidden">
<summary>
Gets/sets the state of the task in the user display
</summary>
</member>
<member name="P:TaskScheduler.Task.ApplicationName">
<summary>
Gets/sets the application path that the task is to execute
</summary>
</member>
<member name="P:TaskScheduler.Task.AccountName">
<summary>
Gets the name of the account under which the task process will run (info only)
</summary>
</member>
<member name="P:TaskScheduler.Task.Comment">
<summary>
Gets/sets the comment associated with the task
</summary>
</member>
<member name="P:TaskScheduler.Task.Creator">
<summary>
Gets/sets the creator of the task (info only)
</summary>
</member>
<member name="P:TaskScheduler.Task.ErrorRetryCount">
<summary>
Gets/sets the number of times to retry task execution after failure. Not implemented.
</summary>
</member>
<member name="P:TaskScheduler.Task.ErrorRetryInterval">
<summary>
Gets/sets the time interval, in minutes, to delay between error retries. Not implemented.
</summary>
</member>
<member name="P:TaskScheduler.Task.ExitCode">
<summary>
Gets the Win32 exit code from the last execution of the task
</summary>
</member>
<member name="P:TaskScheduler.Task.Flags">
<summary>
Gets/sets the flags associated with the current task
</summary>
</member>
<member name="P:TaskScheduler.Task.IdleWaitMinutes">
<summary>
Gets/sets how long, in minutes, the system must remain idle before an idle trigger will execute. See <see cref="T:TaskScheduler.OnIdleTrigger"/>.
</summary>
</member>
<member name="P:TaskScheduler.Task.IdleWaitDeadlineMinutes">
<summary>
Gets/sets the maximum number of minutes that Task Scheduler will wait for the idle-time period. See <see cref="T:TaskScheduler.OnIdleTrigger"/>.
</summary>
</member>
<member name="P:TaskScheduler.Task.MaxRunTime">
<summary>
Gets/sets the maximum length of time the task can run
</summary>
</member>
<member name="P:TaskScheduler.Task.MostRecentRunTime">
<summary>
Gets the most recent time the task began running.
</summary>
</member>
<member name="P:TaskScheduler.Task.NextRunTime">
<summary>
Gets the next time the task will run. <see cref="F:System.DateTime.MinValue"/> returned if next time is not available.
</summary>
</member>
<member name="P:TaskScheduler.Task.Parameters">
<summary>
Gets/sets the command-line parameters for the task
</summary>
</member>
<member name="P:TaskScheduler.Task.Priority">
<summary>
Gets/sets the priority for the task process
</summary>
</member>
<member name="P:TaskScheduler.Task.Status">
<summary>
Gets the status of the task
</summary>
</member>
<member name="P:TaskScheduler.Task.FlagsEx">
<summary>
Flags associated with task. Not implemented.
</summary>
</member>
<member name="P:TaskScheduler.Task.WorkingDirectory">
<summary>
Gets/sets the working directory for the task
</summary>
</member>
<member name="P:TaskScheduler.Task.Tag">
<summary>
Gets/sets a Tag associated with the task (info only)
</summary>
</member>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -