Click or drag to resize

JobRunnerBaseTStarted, TProgress, TEvents, TCompleted, TStartJobArgs Class

Base type for helper class for running and monitoring Server Jobs.
Inheritance Hierarchy
SystemObject
  SOS.SDK.Tools.RunnersJobRunnerBaseTStarted, TProgress, TEvents, TCompleted, TStartJobArgs
    SOS.SDK.Tools.RunnersOnlineBackupJobRunner
    SOS.SDK.Tools.RunnersRecoveryJobRunner
    SOS.SDK.Tools.RunnersRefreshRecoveryInfoJobRunner
    SOS.SDK.Tools.RunnersScanNtfsVolumeJobRunner

Namespace:  SOS.SDK.Tools.Runners
Assembly:  SOS.SDK (in SOS.SDK.dll) Version: 7.6.1.5742
Syntax
C#
public abstract class JobRunnerBase<TStarted, TProgress, TEvents, TCompleted, TStartJobArgs> : IDisposable
where TStarted : JobSessionContract
where TProgress : JobSessionContract
where TEvents : JobEventsContract
where TCompleted : JobSessionContract
where TStartJobArgs : IIdentityContainer

Type Parameters

TStarted
Type of the Started callback argument. Only callbacks with this Type will be processed. Other callback will be ignored.
TProgress
Type of the Progress callback argument. Only callbacks with this Type will be processed. Other callback will be ignored.
TEvents
Type of the Events callback argument. Only callbacks with this Type will be processed. Other callback will be ignored.
TCompleted
Type of the Completed callback argument. Only callbacks with this Type will be processed. Other callback will be ignored.
TStartJobArgs
Type of Job Arguments.

The JobRunnerBaseTStarted, TProgress, TEvents, TCompleted, TStartJobArgs type exposes the following members.

Constructors
Properties
  NameDescription
Protected propertyClient
Associated Infrascale Client instance.
Top
Methods
  NameDescription
Public methodDispose
Clear references to Action. Call dispose for allow GC to collect caller class.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRun
Start the backup of stored BackupSet synchronously and wait for the completion of the execution.
Public methodRunAsync
Start the backup of stored BackupSet asynchronously and await for the completion of the execution.
Protected methodStartJob
Override this method in the derrived class to starting Job on the Server.
Public methodToString (Inherited from Object.)
Top
See Also