Asynchronously sends a request to the server to watch the list of process 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 void StartWatchingAsync(
	EventHandler<AsyncGetProcessDefinitionsCompletedEventArgs> completedCallback,
	Object userState
)
Visual Basic
Public Sub StartWatchingAsync ( _
	completedCallback As EventHandler(Of AsyncGetProcessDefinitionsCompletedEventArgs), _
	userState As Object _
)

Parameters

completedCallback
Type: System..::..EventHandler<(Of <(<'AsyncGetProcessDefinitionsCompletedEventArgs>)>)>
The callback to invoke when the asynchronous operation completes.
userState
Type: System..::..Object
An object that contains state information for this request.

Remarks

When completed, the completedCallback delegate is invoked on a thread appropriate to the application-model, such as the GUI thread in a UI application. The Error property of the AsyncCompletedEventArgs-derived object passed to the delegate will contain any exceptions thrown while executing the asynchronous task. See the synchronous version of this method for more detailed error information.

Exceptions

ExceptionCondition
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