INotificationServiceNotificationQuery Method

Gets the notifications corresponding to query criteria.

Namespace:  Dundas.BI.Notifications
Assembly:  Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax
IList<Notification> NotificationQuery(
	int pageNumber,
	int pageSize,
	IList<Tuple<NotificationQueryField, SortDirection>>? orderBy,
	ICollection<NotificationQueryFilterRule>? filter
)

Parameters

pageNumber
Type: SystemInt32
The page number, or 0 to indicate that all pages should be returned.
pageSize
Type: SystemInt32
The number of results in each page (ignored if pageNumber is 0).
orderBy
Type: System.Collections.GenericIListTupleNotificationQueryField, SortDirection
The sort order of the result, or if the order does not matter.
filter
Type: System.Collections.GenericICollectionNotificationQueryFilterRule
The filter rules which should be applied to the query, or if no filters are required.

Return Value

Type: IListNotification
The collection of Notification objects matching the query criteria.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException

pageNumber is less than zero;

-or-

pageSize is less or equal to than zero.

InvalidOperationExceptionfilter contains an invalid rule.
NoPrivilegeExceptionThe caller is not a system administrator or a tenant administrator.
InvalidSessionExceptionThe caller context is not associated with a valid session.
Remarks
Note Note
For performance reasons, the detailed content is not included in notifications objects returned by this method.
Note Note
Specifying or Empty for filter disables any filtering.
See Also