Disables alerting on the given list of monitored queues.
Namespace: ININ.IceLib.InteractionsAssembly: ININ.IceLib.Interactions (in ININ.IceLib.Interactions.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public void DisableAlerting( IEnumerable<string> scopedQueueNames, MonitoredQueueAlertMode alertMode ) |
Visual Basic |
---|
Public Sub DisableAlerting ( _ scopedQueueNames As IEnumerable(Of String), _ alertMode As MonitoredQueueAlertMode _ ) |
Parameters
- scopedQueueNames
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'String>)>)>
List of the scoped queue names for which alerting will be disabled.
- alertMode
- Type: ININ.IceLib.Interactions..::..MonitoredQueueAlertMode
Alerting is silent if set to AlertSilently.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | scopedQueueNames is empty. |
System..::..ArgumentNullException | One or more arguments was nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..ArgumentOutOfRangeException | This exception occurs when alertMode is not from the MonitoredQueueAlertMode enumeration. |
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 4.0, supported for IC Server version 4.0 GA and beyond.