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
Public method LocalScheduler Initializes a new instance of the LocalScheduler class.

Top

Methods

  Name Description
Public method CancelJob Cancels the specified job. (Overrides Scheduler. . :: . .CancelJob(String).)
Public method CleanupJob Removes scheduler artifacts for the specified job. (Overrides Scheduler. . :: . .CleanupJob(String).)
Public method CleanupWorkFolder (Overrides Scheduler. . :: . .CleanupWorkFolder(String).)
Public method Connect Connects to the local scheduler. (Overrides Scheduler. . :: . .Connect(String).)
Public method Dispose() () () () Releases all resources that are used by the current instance of the LocalScheduler class. (Overrides Scheduler. . :: . .Dispose() () () ().)
Protected method Dispose(Boolean) Releases unmanaged resources and optionally releases managed resources.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetJobCompletionDetails Returns a report about the specified job. (Overrides Scheduler. . :: . .GetJobCompletionDetails(String).)
Public method GetJobStatus Returns the status of the specified job. (Overrides Scheduler. . :: . .GetJobStatus(String).)
Public method GetRunningJobs Returns a list of job instance IDs based on the currently running jobs. (Overrides Scheduler. . :: . .GetRunningJobs() () () ().)
Public method GetTaskChildProcessId Returns the ID of the child process of a task that is an executable, using the specified job. (Overrides Scheduler. . :: . .GetTaskChildProcessId(String).)
Public method GetTaskProgress Returns the percentage complete for a job. (Overrides Scheduler. . :: . .GetTaskProgress(String).)
Public method GetType (Inherited from Object.)
Public method Initialize Sets the name, priority, and properties for this scheduler instance. (Overrides Scheduler. . :: . .Initialize(String, Credential, String, Int32, Dictionary< (Of < <' (String, String> ) > > )).)
Protected method MemberwiseClone (Inherited from Object.)
Public method SetLogWriter Sets the Logger object for the local scheduler. (Overrides Scheduler. . :: . .SetLogWriter(Logger).)
Public method 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).)
Public method SetTaskCount Sets the task count for the local scheduler by using the specified job and task count. (Overrides Scheduler. . :: . .SetTaskCount(String, Int32).)
Public method SetTaskIndex Sets the index of a task for the local scheduler. (Overrides Scheduler. . :: . .SetTaskIndex(String, Int32).)
Public method StartJob Starts the specified job using the local scheduler. (Overrides Scheduler. . :: . .StartJob(String).)
Public method SubmitJob Submits a job manifest to the local scheduler. (Overrides Scheduler. . :: . .SubmitJob(JobManifest).)
Public method ToString (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.Web.Media.TransformManager Namespace