C# Class Elmah.ErrorSignal

显示文件 Open project: elmah/Elmah Class Usage Examples

Public Methods

Method Description
FromContext ( System.Web.HttpContextBase context ) : ErrorSignal
FromCurrentContext ( ) : ErrorSignal
Get ( System.Web.HttpApplication application ) : ErrorSignal
Raise ( Exception e ) : void
Raise ( Exception e, System.Web.HttpContextBase context ) : void
Raise ( Exception e, System.Web.HttpContextBase context, CallerInfo callerInfo ) : void
RaiseWithCallerInfo ( Exception e, System.Web.HttpContextBase context, [ callerMember = null, [ callerFilePath = null, [ callerLineNumber ) : void
RaiseWithCallerInfo ( Exception e, [ callerMember = null, [ callerFilePath = null, [ callerLineNumber ) : void

Private Methods

Method Description
FromContext ( HttpContext context ) : ErrorSignal
OnApplicationDisposed ( object sender, EventArgs e ) : void

Method Details

FromContext() public static method

public static FromContext ( System.Web.HttpContextBase context ) : ErrorSignal
context System.Web.HttpContextBase
return ErrorSignal

FromCurrentContext() public static method

public static FromCurrentContext ( ) : ErrorSignal
return ErrorSignal

Get() public static method

public static Get ( System.Web.HttpApplication application ) : ErrorSignal
application System.Web.HttpApplication
return ErrorSignal

Raise() public method

public Raise ( Exception e ) : void
e System.Exception
return void

Raise() public method

public Raise ( Exception e, System.Web.HttpContextBase context ) : void
e System.Exception
context System.Web.HttpContextBase
return void

Raise() public method

public Raise ( Exception e, System.Web.HttpContextBase context, CallerInfo callerInfo ) : void
e System.Exception
context System.Web.HttpContextBase
callerInfo CallerInfo
return void

RaiseWithCallerInfo() public method

public RaiseWithCallerInfo ( Exception e, System.Web.HttpContextBase context, [ callerMember = null, [ callerFilePath = null, [ callerLineNumber ) : void
e System.Exception
context System.Web.HttpContextBase
callerMember [
callerFilePath [
callerLineNumber [
return void

RaiseWithCallerInfo() public method

public RaiseWithCallerInfo ( Exception e, [ callerMember = null, [ callerFilePath = null, [ callerLineNumber ) : void
e System.Exception
callerMember [
callerFilePath [
callerLineNumber [
return void