Click or drag to resize

IJobManagerServiceAddJob(IJob, TimeSpan, JobStartType) Method

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.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
[ObsoleteAttribute("Use AddJob(IJob, JobStartType) and then SetJobSchedule() instead", 
	true)]
void AddJob(
	IJob jobType,
	TimeSpan elapseTime,
	JobStartType startType = JobStartType.Immediate
)

Parameters

jobType  IJob

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

elapseTime  TimeSpan

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

startType  JobStartType  (Optional)

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

See Also