Click or drag to resize

IJobManagerServiceAddJob Method (IJob, TimeSpan, JobStartType)

Note: This API is now obsolete.

Add a job to the job manager

Namespace:  SanteDB.Core.Jobs
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.481-alpha
Syntax
[ObsoleteAttribute("Use AddJob(IJob, JobStartType) and then SetJobSchedule() instead", 
	true)]
void AddJob(
	IJob jobType,
	TimeSpan elapseTime,
	JobStartType startType = JobStartType.Immediate
)

Parameters

jobType
Type: SanteDB.Core.JobsIJob

[Missing <param name="jobType"/> documentation for "M:SanteDB.Core.Jobs.IJobManagerService.AddJob(SanteDB.Core.Jobs.IJob,System.TimeSpan,SanteDB.Core.Jobs.JobStartType)"]

elapseTime
Type: SystemTimeSpan

[Missing <param name="elapseTime"/> documentation for "M:SanteDB.Core.Jobs.IJobManagerService.AddJob(SanteDB.Core.Jobs.IJob,System.TimeSpan,SanteDB.Core.Jobs.JobStartType)"]

startType (Optional)
Type: SanteDB.Core.JobsJobStartType

[Missing <param name="startType"/> documentation for "M:SanteDB.Core.Jobs.IJobManagerService.AddJob(SanteDB.Core.Jobs.IJob,System.TimeSpan,SanteDB.Core.Jobs.JobStartType)"]

See Also