EventInfosRegisterEvent Method (String, String, String, Properties, Int32) |
Registers an event with the system for future execution.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntaxpublic string RegisterEvent(
string eventTypeName,
string userID,
string groupID,
Properties eventParams,
int daysValid
)
Public Function RegisterEvent (
eventTypeName As String,
userID As String,
groupID As String,
eventParams As Properties,
daysValid As Integer
) As String
Parameters
- eventTypeName
- Type: SystemString
The event type name. - userID
- Type: SystemString
The userID, if required. - groupID
- Type: SystemString
The group that this event instance belongs to. This parameter can be null - eventParams
- Type: NetQuarryProperties
Event parameters. - daysValid
- Type: SystemInt32
The number of days from today that the event should expire.
If this value is set to an integer less than or equal to 0, the expiration date on the event is 30 days from today.
Return Value
Type:
StringA unique ID that can be used by
FireEvent(String) to exectue the event.
See Also