Click or drag to resize

PFRelation_ItemEventInsert Method

Creates and saves a new item event instance. (by default, asynchronously)

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public void Insert(
	string title,
	string description = null,
	PFUser actor = null,
	bool async = true,
	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.
async (Optional)
Type: SystemBoolean
If set to true the insertion will be asynchronous.
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.
See Also