C# Class Microsoft.Legal.MatterCenter.Service.Filters.MatterCenterExceptionFilter

All unhandled exception in the matter center will be handled by this class. This MatterCenterExceptionFilter will be added to StartUp.cs
Inheritance: IExceptionFilter
Datei anzeigen Open project: Microsoft/mattercenter

Public Methods

Method Description
MatterCenterExceptionFilter ( ILoggerFactory logger ) : Microsoft.AspNet.Mvc
MatterCenterExceptionFilter ( ILoggerFactory logger, string instrumentationKey ) : Microsoft.AspNetCore.Mvc
OnException ( ExceptionContext context ) : void

Method Details

MatterCenterExceptionFilter() public method

public MatterCenterExceptionFilter ( ILoggerFactory logger ) : Microsoft.AspNet.Mvc
logger ILoggerFactory
return Microsoft.AspNet.Mvc

MatterCenterExceptionFilter() public method

public MatterCenterExceptionFilter ( ILoggerFactory logger, string instrumentationKey ) : Microsoft.AspNetCore.Mvc
logger ILoggerFactory
instrumentationKey string
return Microsoft.AspNetCore.Mvc

OnException() public method

public OnException ( ExceptionContext context ) : void
context ExceptionContext
return void