Get a Notification by NotificationTypeId and Context

Namespace: DotNetNuke.Services.Social.Notifications
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
IList<Notification> GetNotificationByContext(
	int notificationTypeId,
	string context
)
Visual Basic
Function GetNotificationByContext ( 
	notificationTypeId As Integer,
	context As String
) As IList(Of Notification)

Parameters

notificationTypeId
Type: System..::..Int32
Id of the notification type
context
Type: System..::..String
Context set by creator of the notification.

Return Value

The filtered list of notifications sent to the provided user in the specified portal.

See Also