Open this page in the API Guide

INotificationService.NotificationInfoQuery Method

Gets basic information about the notifications corresponding to query criteria.

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

Parameters

pageNumber
Type: System.Int32
The page number, or 0 to indicate that all pages should be returned.
pageSize
Type: System.Int32
The number of results in each page (ignored if pageNumber is 0).
orderBy
Type: System.Collections.Generic.IList<Tuple<NotificationQueryField, SortDirection>>
The sort order of the result, or null if the order does not matter.
filter
Type: System.Collections.Generic.ICollection<NotificationQueryFilterRule>
The filter rules which should be applied to the query, or null if no filters are required.

Return Value

Type: IList<NotificationInfo>
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 null or Empty for filter disables any filtering.
See Also