C# Class ExceptionFilter.Controllers.ErrorsController

Inheritance: ApiController
Afficher le fichier Open project: peteratseneca/dps907fall2013

Méthodes publiques

Méthode Description
Get ( int id ) : HttpResponseMessage

Fetch a specific logged exception object by its identifier

Get ( ) : IEnumerable

Fetch all logged exception objects

GetError ( string causeerror ) : string

Cause an exception to happen

Method Details

Get() public méthode

Fetch a specific logged exception object by its identifier
public Get ( int id ) : HttpResponseMessage
id int Logged exception identifier
Résultat System.Net.Http.HttpResponseMessage

Get() public méthode

Fetch all logged exception objects
public Get ( ) : IEnumerable
Résultat IEnumerable

GetError() public méthode

Cause an exception to happen
public GetError ( string causeerror ) : string
causeerror string Add a query string 'causerror'
Résultat string