WebErrorHandler Constructor

Public constructor requires that an exception is passed in. Generally you'll want to do this is in Application_Error and pass in in the InnerException of the error:

WebErrorHandler Handler = new WebErrorHandler(Server.GetLastError().InnerException);

public WebErrorHandler(Exception lastException)


The Exception to log

See also:

Class WebErrorHandler

© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic