 | IJobStateManagerServiceSetState Method |
Set the status of the job
Namespace: SanteDB.Core.JobsAssembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntaxvoid SetState(
IJob job,
JobStateType state,
string statusText = null
)
Sub SetState (
job As IJob,
state As JobStateType,
Optional statusText As String = Nothing
)
void SetState(
IJob^ job,
JobStateType state,
String^ statusText = nullptr
)
abstract SetState :
job : IJob *
state : JobStateType *
?statusText : string
(* Defaults:
let _statusText = defaultArg statusText null
*)
-> unit 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