Monday, December 27, 2010

Save Custom Exceptions to ELMAH Log

Call the following method to Save Custom Exceptions to Log

Elmah.ErrorSignal.FromCurrentContext().Raise(new ApplicationException("Invalid Username or Password"));

No comments:

Post a Comment