Click or drag to resize
Task Scheduler Managed Class Library

SettingsBuilder Class

Fluent helper class. Not intended for use.
Inheritance Hierarchy
SystemObject
  Microsoft.Win32.TaskScheduler.FluentBaseBuilder
    Microsoft.Win32.TaskScheduler.FluentSettingsBuilder

Namespace: Microsoft.Win32.TaskScheduler.Fluent
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.12.0
Syntax
C#
public class SettingsBuilder : BaseBuilder
Request Example View Source

The SettingsBuilder type exposes the following members.

Properties
 NameDescription
Public propertyWhenTransitions to settings syntax.
(Inherited from BaseBuilder)
Top
Methods
 NameDescription
Public methodAllowingStartIfOnBatteriesIndicates that the task will be started even if the computer is running on battery power.
Public methodAllowingStartOnRemoteAppSession Indicates that the task will be started even if the task is triggered to run in a Remote Applications Integrated Locally (RAIL) session.
Public methodAsTask(String)Assigns the name of the task and registers it.
(Inherited from BaseBuilder)
Public methodAsTask(String, TaskCreation, String, String, TaskLogonType)Assigns the name of the task and registers it.
(Inherited from BaseBuilder)
Public methodDataIsSets the task data to a string.
Public methodDeletingTaskAfterSets the amount of time that the Task Scheduler will wait before deleting the task after it expires.
Public methodDisallowingDemandStartIndicates that the task cannot be started with the Run command or the Context menu.
Public methodDisallowingHardTerminateIndicates that the task may not be terminated by using TerminateProcess.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecutingAtMostSets the amount of time that is allowed to complete the task.
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodInstancesAreSets the policy that defines how the Task Scheduler handles multiple instances of the task.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodNotStoppingIfGoingOnBatteriesIndicates that the task will not be stopped if the computer switches to battery power.
Public methodOnlyIfIdleIndicates that the Task Scheduler will run the task only if the computer is in an idle condition.
Public methodOnlyIfNetworkAvailableIndicates that the Task Scheduler will run the task only when a network is available.
Public methodPriorityIsSets the priority level of the task.
Public methodRestartingEverySets a value that specifies how long the Task Scheduler will attempt to restart the task.
Public methodStartingWhenAvailableIndicates that the Task Scheduler can start the task at any time after its scheduled time has passed.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodWakingToRunIndicates that the Task Scheduler will wake the computer when it is time to run the task.
Top
See Also