Updates the subscriptions for an AlertSet.
Namespace: ININ.IceLib.Statistics.AlertsAssembly: ININ.IceLib.Statistics (in ININ.IceLib.Statistics.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public void UpdateSubscriptions( IEnumerable<AlertSetSubscriber> subscribers, string alertSetId ) |
Visual Basic |
---|
Public Sub UpdateSubscriptions ( _ subscribers As IEnumerable(Of AlertSetSubscriber), _ alertSetId As String _ ) |
Parameters
- subscribers
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'AlertSetSubscriber>)>)>
The subscribers.
- alertSetId
- Type: System..::..String
The alert set's ID.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException | subscribers is empty or alertSetId is an empty string. |
System..::..ArgumentNullException | a parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System.ComponentModel..::..InvalidEnumArgumentException | A subscriber has its Action set to Unknown or its Type set to Unknown. |
ININ.IceLib..::..InsufficientRightsException | Insufficient rights to share or force subscriptions on the alert set. |
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 SU 4 and beyond.
For 4.0, supported for IC Server version 4.0 SU 4 and beyond.