public static bool CancelRequest (string eventType, string message);

Parameters

eventTypeThe event to cancel.
messageThe error message sent to the pending request.

Returns

bool Returns true if a pending request was found and cancelled false otherwise.

Description

Checks whether there is a pending request for a specific event and, if there is, cancels it. See EventService.Request for more details on Request.