Updates the subscriptions for an AlertSet.

Namespace: ININ.IceLib.Statistics.Alerts
Assembly: 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

ExceptionCondition
System..::..ArgumentExceptionsubscribers is empty or alertSetId is an empty string.
System..::..ArgumentNullExceptiona parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System.ComponentModel..::..InvalidEnumArgumentExceptionA subscriber has its Action set to Unknown or its Type set to Unknown.
ININ.IceLib..::..InsufficientRightsExceptionInsufficient rights to share or force subscriptions on the alert set.
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 SU 4 and beyond.

See Also