void RaiseExceptionEncountered(Exception e, Guid id) { OnEvent(ExceptionEncountered, new ExceptionEventArgs(e, id)); } public event EventHandler<ConnectionEventArgs> Connected;