PFRelation_ItemEventInsertNow Method |
Creates and saves a new item event instance.
Namespace:
Packflow.Core
Assembly:
MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax public PFItemEvent InsertNow(
string title,
string description = null,
PFUser actor = null,
string tag = null,
Object technicalInformation = null,
bool restrictToAdmins = false,
bool emitSiteEvents = false
)
Parameters
- title
- Type: SystemString
Event title. - description (Optional)
- Type: SystemString
Event description. - actor (Optional)
- Type: Packflow.CorePFUser
Event actor. - tag (Optional)
- Type: SystemString
The tag, information representing/categorizing this event. - technicalInformation (Optional)
- Type: SystemObject
The technical information,
a serialized object containing technical information about this event. - restrictToAdmins (Optional)
- Type: SystemBoolean
If set to true
the new item event will only be visible to administrators. - emitSiteEvents (Optional)
- Type: SystemBoolean
If set to true
site events will be emitted, allowing the UI (e.g. chat) to update in realtime.
Return Value
Type:
PFItemEvent
The new persisted item event instance.
See Also