Sends a request to the server to watch the list of processes definitions for the currently logged in user.

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 ReadOnlyCollection<ProcessDefinition> StartWatching()
Visual Basic
Public Function StartWatching As ReadOnlyCollection(Of ProcessDefinition)

Return Value

The list of process definitions for the currently logged in user.

Remarks

When this method completes, it will raise the event ProcessDefinitionsListChanged. Note that an event handler needs to be set for ProcessDefinitionsListChanged before calling this method.

Exceptions

ExceptionCondition
ININ.IceLib.Connection..::..RequestTimeoutExceptionThe request timed out while waiting for a response.
ININ.IceLib.Connection..::..SessionDisconnectedExceptionThe Session does not have a valid connection.
System..::..ObjectDisposedExceptionThe Session has been disposed.
System..::..InvalidOperationExceptionThe list of process definitions is already watched.

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