Click or drag to resize

IJobStateManagerServiceSetState Method

Set the status of the job

Namespace: SanteDB.Core.Jobs
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
void SetState(
	IJob job,
	JobStateType state,
	string statusText = null
)

Parameters

job  IJob
The job for which the state should be set
state  JobStateType
The state of the job
statusText  String  (Optional)
Informational text which describes the status
See Also