The GetAction method returns the event received as an Event object or specified for a MsgObject object.

Syntax for method invocation:

 function GetAction() : String

There are no method arguments.

Example. See the example in The GetSourceType method.