Click or drag to resize
CMSNotificationGatewayRaiseEvent Method (String, String, Int32, String, String, Int32, String, Object, String)

Note: This API is now obsolete.

Raises event with specified parameters and performs sending notifications to all subscribers who were subscribed to such event.

Namespace: CMS.Notifications.Web.UI
Assembly: CMS.Notifications.Web.UI (in CMS.Notifications.Web.UI.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("Use RaiseEvent(string, string, int, string, string, int, string, object, IDictionary<string, object>) instead.")]
public static void RaiseEvent(
	string eventSource,
	string eventCode,
	int eventObjectId,
	string eventData1,
	string eventData2,
	int siteId,
	string where,
	Object resolverData,
	string[,] resolverSourceParameters
)

Parameters

eventSource
Type: SystemString
Subscription event source
eventCode
Type: SystemString
Subscription event code
eventObjectId
Type: SystemInt32
Subscription event object ID
eventData1
Type: SystemString
Subscription event data 1
eventData2
Type: SystemString
Subscription event data 2
siteId
Type: SystemInt32
ID of the site where the event belongs
where
Type: SystemString
Additional WHERE condition
resolverData
Type: SystemObject
Custom data for macro resolver (DataRow or DataClass object)
resolverSourceParameters
Type: SystemString
Resolver special macros (couples [name, value])
See Also