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.
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
Exception | Condition |
---|---|
System..::..InvalidOperationException | The email is already being watched. |
ININ.IceLib.Connection..::..RequestTimeoutException | The request timed out while waiting for a response. |
ININ.IceLib.Connection..::..SessionDisconnectedException | The Session does not have a valid connection. |
System..::..ObjectDisposedException | The Session has been disposed. |
ININ.IceLib..::..NotCachedException | The associated attribute is not being watched. |
Version Information
Supported for IC Server version 2015 R3 and beyond.