| 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
)
<ObsoleteAttribute("Use AddJob(IJob, JobStartType) and then SetJobSchedule() instead",
true)>
Sub AddJob (
jobType As IJob,
elapseTime As TimeSpan,
Optional startType As JobStartType = JobStartType.Immediate
)
[ObsoleteAttribute(L"Use AddJob(IJob, JobStartType) and then SetJobSchedule() instead",
true)]
void AddJob(
IJob^ jobType,
TimeSpan elapseTime,
JobStartType startType = JobStartType::Immediate
)
[<ObsoleteAttribute("Use AddJob(IJob, JobStartType) and then SetJobSchedule() instead",
true)>]
abstract AddJob :
jobType : IJob *
elapseTime : TimeSpan *
?startType : JobStartType
(* Defaults:
let _startType = defaultArg startType JobStartType.Immediate
*)
-> unit
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