Checks to see if the specified process is already running.

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 bool CheckForRunningProcess(
	string processDefinitionId
)
Visual Basic
Public Function CheckForRunningProcess ( _
	processDefinitionId As String _
) As Boolean

Parameters

processDefinitionId
Type: System..::..String
The process definition ID. (See Id.)

Return Value

true if specified process is already running; othwerwise false.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic) or Empty.

Version Information

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

See Also