ActionResult Class
Contains information about the execution of an actionable notification.
This ActionResult instance represents the successful execution of an actionable notification.
This ActionResult instance represents the unsuccessful execution of an actionable notification.
The following are methods for ActionResult.
-
If an error occurred, returns an object that provides the error code and a description.
-
Returns the success or error message that displays for the user.
-
Returns
trueif the action executed successfully; otherwise returnsfalse.
If an error occurred, returns an object that provides the error code and a description.
public Messaging.ActionError getErrorCode()
Type: Messaging.ActionError
Returns the success or error message that displays for the user.
public String getMessage()
Type: String
Returns true if the action executed successfully; otherwise returns false.
public Boolean isSuccess()
Type: Boolean