WorkflowHostLockWorkflowInstance Method

Scanjour Workflow4 Reference Manual
Lock Workflow Instance

Namespace:  Scanjour.Workflow4.Host
Assembly:  Scanjour.Workflow4.Host (in Scanjour.Workflow4.Host.dll) Version: 21.3.0.0 (21.3.0.0)
Syntax

public static bool LockWorkflowInstance(
	Guid instanceId,
	InstanceInformationCache instanceInformationCache,
	string hostId,
	TimeSpan idleInstancesThreshold = null
)

Parameters

instanceId
Type: SystemGuid

[Missing <param name="instanceId"/> documentation for "M:Scanjour.Workflow4.Host.WorkflowHost.LockWorkflowInstance(System.Guid,Scanjour.Workflow4.Host.InstanceInformationCache,System.String,System.TimeSpan)"]

instanceInformationCache
Type: Scanjour.Workflow4.HostInstanceInformationCache

[Missing <param name="instanceInformationCache"/> documentation for "M:Scanjour.Workflow4.Host.WorkflowHost.LockWorkflowInstance(System.Guid,Scanjour.Workflow4.Host.InstanceInformationCache,System.String,System.TimeSpan)"]

hostId
Type: SystemString

[Missing <param name="hostId"/> documentation for "M:Scanjour.Workflow4.Host.WorkflowHost.LockWorkflowInstance(System.Guid,Scanjour.Workflow4.Host.InstanceInformationCache,System.String,System.TimeSpan)"]

idleInstancesThreshold (Optional)
Type: SystemTimeSpan

[Missing <param name="idleInstancesThreshold"/> documentation for "M:Scanjour.Workflow4.Host.WorkflowHost.LockWorkflowInstance(System.Guid,Scanjour.Workflow4.Host.InstanceInformationCache,System.String,System.TimeSpan)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Scanjour.Workflow4.Host.WorkflowHost.LockWorkflowInstance(System.Guid,Scanjour.Workflow4.Host.InstanceInformationCache,System.String,System.TimeSpan)"]

See Also

Reference