LocalScheduler Class
Schedules a new IIS Transform Manager job that runs on the local computer.
Inheritance Hierarchy
System. . :: . .Object
Microsoft.Web.Media.TransformManager. . :: . .Scheduler
Microsoft.Web.Media.TransformManager..::..LocalScheduler
Namespace: Microsoft.Web.Media.TransformManager
Assembly: Microsoft.Web.Media.TransformManager.Common (in Microsoft.Web.Media.TransformManager.Common.dll)
Syntax
'Declaration
Public Class LocalScheduler _
Inherits Scheduler _
Implements IDisposable
'Usage
Dim instance As LocalScheduler
public class LocalScheduler : Scheduler,
IDisposable
public ref class LocalScheduler : public Scheduler,
IDisposable
type LocalScheduler =
class
inherit Scheduler
interface IDisposable
end
public class LocalScheduler extends Scheduler implements IDisposable
The LocalScheduler type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LocalScheduler | Initializes a new instance of the LocalScheduler class. |
Top
Methods
Name | Description | |
---|---|---|
CancelJob | Cancels the specified job. (Overrides Scheduler. . :: . .CancelJob(String).) | |
CleanupJob | Removes scheduler artifacts for the specified job. (Overrides Scheduler. . :: . .CleanupJob(String).) | |
CleanupWorkFolder | (Overrides Scheduler. . :: . .CleanupWorkFolder(String).) | |
Connect | Connects to the local scheduler. (Overrides Scheduler. . :: . .Connect(String).) | |
Dispose() () () () | Releases all resources that are used by the current instance of the LocalScheduler class. (Overrides Scheduler. . :: . .Dispose() () () ().) | |
Dispose(Boolean) | Releases unmanaged resources and optionally releases managed resources. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetJobCompletionDetails | Returns a report about the specified job. (Overrides Scheduler. . :: . .GetJobCompletionDetails(String).) | |
GetJobStatus | Returns the status of the specified job. (Overrides Scheduler. . :: . .GetJobStatus(String).) | |
GetRunningJobs | Returns a list of job instance IDs based on the currently running jobs. (Overrides Scheduler. . :: . .GetRunningJobs() () () ().) | |
GetTaskChildProcessId | Returns the ID of the child process of a task that is an executable, using the specified job. (Overrides Scheduler. . :: . .GetTaskChildProcessId(String).) | |
GetTaskProgress | Returns the percentage complete for a job. (Overrides Scheduler. . :: . .GetTaskProgress(String).) | |
GetType | (Inherited from Object.) | |
Initialize | Sets the name, priority, and properties for this scheduler instance. (Overrides Scheduler. . :: . .Initialize(String, Credential, String, Int32, Dictionary< (Of < <' (String, String> ) > > )).) | |
MemberwiseClone | (Inherited from Object.) | |
SetLogWriter | Sets the Logger object for the local scheduler. (Overrides Scheduler. . :: . .SetLogWriter(Logger).) | |
SetTaskChildProcessId | Sets the ID of the child process for a task that is an executable by using the specified job and child process. (Overrides Scheduler. . :: . .SetTaskChildProcessId(String, Int32).) | |
SetTaskCount | Sets the task count for the local scheduler by using the specified job and task count. (Overrides Scheduler. . :: . .SetTaskCount(String, Int32).) | |
SetTaskIndex | Sets the index of a task for the local scheduler. (Overrides Scheduler. . :: . .SetTaskIndex(String, Int32).) | |
StartJob | Starts the specified job using the local scheduler. (Overrides Scheduler. . :: . .StartJob(String).) | |
SubmitJob | Submits a job manifest to the local scheduler. (Overrides Scheduler. . :: . .SubmitJob(JobManifest).) | |
ToString | (Inherited from Object.) | |
UpdateJobProgress | Updates the percentage complete of the specified job. (Overrides Scheduler. . :: . .UpdateJobProgress(String, Int32).) |
Top
Remarks
The local scheduler implements a set of methods for starting, stopping, and reporting progress of a job. The local scheduler uses the Windows Task Scheduler on the local computer to schedule jobs.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.