Issues a synchronous request to refresh the fax cache.

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

Syntax

C#
public void RefreshFaxCache(
	int maxMessages
)
Visual Basic
Public Sub RefreshFaxCache ( _
	maxMessages As Integer _
)

Parameters

maxMessages
Type: System..::..Int32
The number of messages to refresh, -1 to refresh them all.

Remarks

Any subsequent calls to this method or its async version (RefreshFaxCacheAsync(Int32, AsyncCompletedEventHandler, Object)) within a 5 second period will be rejected with a RateLimitedException. This restriction is per message type, a call to RefreshFaxCache(Int32) followed by a call to RefreshVoicemailCache(Int32) or RefreshVoicemailCacheAsync(Int32, AsyncCompletedEventHandler, Object) within a 5 second period will be successful.

Exceptions

ExceptionCondition
ININ.IceLib..::..IceLibExceptionThere was an error refreshing the list or this method was called more than once within a 5 second period.
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.

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