Send
Function to trigger an event.
Syntax:
Void Send(String
sMessage);
Trigger an event showing a message
configured.
Void Send(String sGroup,String
sMessage);
Trigger an event showing the Group
that the event belongs and one message.
Void Send(String sGroup,Int32 nPriority,String sMessage);
Trigger an event showing the Group that
the event belongs, the priority of the event and one message.
Params:
String sGroup: A String parameter containing the Group that the Event belongs.
Int32 nPriority: An Integer parameter containing the priority of the Event.
String sMessage: A String parameter containing the message that will be shown.
Example:
Trigger an event with the message 'Lunch Time'.
SVEvent.Send("Lunch Time");
|
Trigger an event with the message 'Lunch Time' in the group 'Others'.
SVEvent.Send("Others","Lunch Time");
|
Trigger an event with the message 'Lunch Time' in the group 'Others' and a priority of 1.
SVEvent.Send("Others",1,"Lunch Time");
|