protected void SendExceptionFailedResult(Exception exception) { var result = new ExceptionFailedResult() { Id = Id, ExceptionMessage = exception.Message, ExceptionType = exception.GetType().FullName, FailureText = BuildExceptionMessage(exception) }; Send(result); }
protected void SendExceptionFailedResult(Exception exception) { var result = new ExceptionFailedResult() { Id = Id, ExceptionMessage = exception.Message, ExceptionType = exception.GetType().FullName, FailureText = string.Format("Exception: {0}: {1}", exception.GetType().Name, exception.Message) }; result.Send(Configuration); }