Issues a synchronous request to refresh the voicemail cache.
Namespace: ININ.IceLib.UnifiedMessagingAssembly: ININ.IceLib.UnifiedMessaging (in ININ.IceLib.UnifiedMessaging.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public void RefreshVoicemailCache( int maxMessages ) |
Visual Basic |
---|
Public Sub RefreshVoicemailCache ( _ 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 (RefreshVoicemailCacheAsync(Int32, AsyncCompletedEventHandler, Object)) within a 5 second period will be rejected with a RateLimitedException.
This restriction is per message type, a call to RefreshVoicemailCache(Int32) followed by a call to RefreshFaxCache(Int32) or RefreshFaxCacheAsync(Int32, AsyncCompletedEventHandler, Object) within a 5 second period will be successful.
Exceptions
Exception | Condition |
---|---|
ININ.IceLib..::..IceLibException | There was an error refreshing the list or this method was called more than once within a 5 second period. |
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. |
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.
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.