Initializes a new instance of the ProcessInstance class.

Namespace: ININ.IceLib.ProcessAutomation
Assembly: ININ.IceLib.ProcessAutomation (in ININ.IceLib.ProcessAutomation.dll) Version: 0.0.0.0 (22.3.0.218)

Syntax

C#
public ProcessInstance(
	ProcessManager processManager,
	string processInstanceId
)
Visual Basic
Public Sub New ( _
	processManager As ProcessManager, _
	processInstanceId As String _
)

Parameters

processManager
Type: ININ.IceLib.ProcessAutomation..::..ProcessManager
The process manager.
processInstanceId
Type: System..::..String
The process instance identifier.

Remarks

Constructing an instance of ProcessInstance will not automatically populate the object with data about the process instance matching the processInstanceId parameter. To retrieve an existing ProcessInstance, use GetLaunchableProcesses()()()() or its asynchronous equivalent, GetLaunchableProcessesAsync(EventHandler<(Of <<'(AsyncGetLaunchableProcessesCompletedEventArgs>)>>), Object). To create a new ProcessInstance, use CreateInstance(ProcessLaunchParameters).

Version Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 GA and beyond.
For 3.0, supported for IC Server version 3.0 SU 8 and beyond.

See Also