Represents a queue of Interactions within the Interaction Center system.

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 class InteractionQueue
Visual Basic
Public Class InteractionQueue

Remarks

This class provides support for setting up watches and retrieving the contents of an interaction queue.

To start a watch on an interaction queue, call StartWatching(array<String>[]()[][]) or StartWatchingAsync(array<String>[]()[][], AsyncCompletedEventHandler, Object) and provide and array of attributes. When the asynchronous start watch operation completes, it invokes the completedCallback delegate.

To stop a watch on an interaction queue, call StopWatching()()()() or StopWatchingAsync(AsyncCompletedEventHandler, Object). When the asynchronous stop watch operation completes, it invokes the completedCallback delegate.

To change the attributes watched, call ChangeWatchedAttributes(array<String>[]()[][], array<String>[]()[][], Boolean) or ChangeWatchedAttributesAsync(array<String>[]()[][], array<String>[]()[][], Boolean, AsyncCompletedEventHandler, Object). When the asynchronous change watch operation completes, it invokes the completedCallback delegate.

To retrieve the contents of an interaction queue, call GetContents()()()() or GetContentsAsync(EventHandler<(Of <<'(GetContentsCompletedEventArgs>)>>), Object). When the asynchronous get contents operation completes, it invokes the completedCallback delegate and returns the InteractionCompletedEventArgs object containing the contents of the interaction queue. The queue contents is represented by a collection of Interaction objects.

Calling StartWatching(array<String>[]()[][]) or StartWatchingAsync(array<String>[]()[][], AsyncCompletedEventHandler, Object) when a watch is in place or StopWatching()()()(), StopWatchingAsync(AsyncCompletedEventHandler, Object), ChangeWatchedAttributes(array<String>[]()[][], array<String>[]()[][], Boolean), or ChangeWatchedAttributesAsync(array<String>[]()[][], array<String>[]()[][], Boolean, AsyncCompletedEventHandler, Object) when a watch is not in place raises an InvalidOperationException.

Note
The asynchronous version of the above methods is preferred since these operations can be lengthy.
Note
For more information on getting started with queues and interactions see Getting Started With Interactions.

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.

Inheritance Hierarchy

System..::..Object
  ININ.IceLib.Interactions..::..InteractionQueue

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 GA and beyond.

See Also