PFRelation_UserNotificationAdd Method |
Creates a new user notification instance, not yet persisted.
Namespace:
Packflow.Core
Assembly:
MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax public PFUserNotification Add(
string url,
string text,
Guid relatedObjectGuid = null,
long relatedObjectId = -1,
bool read = false
)
Parameters
- url
- Type: SystemString
Notification target URL. - text
- Type: SystemString
The notification text. - relatedObjectGuid (Optional)
- Type: SystemGuid
The GUID of the related object. - relatedObjectId (Optional)
- Type: SystemInt64
The id of the related object. - read (Optional)
- Type: SystemBoolean
If set to true, the notification is directly marked as Read.
Return Value
Type:
PFUserNotificationPFUserNotificationSee Also