C# Class Contrive.Common.Web.Errors.HttpErrorHandler

Afficher le fichier Open project: alanstevens/Contrive

Méthodes publiques

Méthode Description
HandleError ( System.Web.HttpContextBase context, int statusCode ) : void
HttpErrorHandler ( IWebConfigurationProvider configurationProvider, IErrorViewRenderer errorViewRenderer ) : System.Diagnostics

Private Methods

Méthode Description
UseCustomErrors ( bool isLocal ) : bool

Method Details

HandleError() public méthode

public HandleError ( System.Web.HttpContextBase context, int statusCode ) : void
context System.Web.HttpContextBase
statusCode int
Résultat void

HttpErrorHandler() public méthode

public HttpErrorHandler ( IWebConfigurationProvider configurationProvider, IErrorViewRenderer errorViewRenderer ) : System.Diagnostics
configurationProvider IWebConfigurationProvider
errorViewRenderer IErrorViewRenderer
Résultat System.Diagnostics