/// <summary> /// Executes the method message. /// </summary> protected virtual bool InvokeMethodMessage(DelegateMessage aMethodMessage) { try { aMethodMessage.MethodInvoke(); return(true); } catch (Exception e) { if ((e.GetBaseException() is ThreadAbortException) || (!aMethodMessage.CompletedSynchronously && !DoErrorHandler(e))) { throw; } return(false); } }