Starts watching the email interaction asynchronously. The content will be unavailable until notified by the EmailContentUpdated event.

Note: This method is supported for IC Server version 2015 R3 and beyond.

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

Syntax

C#
public void EmailStartWatchingWithEventAsync(
	AsyncCompletedEventHandler completedCallback,
	Object userState
)
Visual Basic
Public Sub EmailStartWatchingWithEventAsync ( _
	completedCallback As AsyncCompletedEventHandler, _
	userState As Object _
)

Parameters

completedCallback
Type: System.ComponentModel..::..AsyncCompletedEventHandler
userState
Type: System..::..Object

Exceptions

ExceptionCondition
System..::..InvalidOperationExceptionThe email is already being watched.
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.
ININ.IceLib..::..NotCachedExceptionThe associated attribute is not being watched.

Version Information

Supported for IC Server version 2015 R3 and beyond.

See Also