C# Class Rock.Rest.RockApiExceptionHandler

Inheritance: System.Web.Http.ExceptionHandling.ExceptionHandler
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
Handle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : void

When overridden in a derived class, handles the exception synchronously.

ShouldHandle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : bool

Determines whether the exception should be handled.

Method Details

Handle() public méthode

When overridden in a derived class, handles the exception synchronously.
public Handle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : void
context System.Web.Http.ExceptionHandling.ExceptionHandlerContext The exception handler context.
Résultat void

ShouldHandle() public méthode

Determines whether the exception should be handled.
public ShouldHandle ( System.Web.Http.ExceptionHandling.ExceptionHandlerContext context ) : bool
context System.Web.Http.ExceptionHandling.ExceptionHandlerContext The exception handler context.
Résultat bool