HttpContext.AddError(Exception) Methode

Definitie

Hiermee voegt u een uitzondering toe aan de uitzonderingsverzameling voor de huidige HTTP-aanvraag.

public:
 void AddError(Exception ^ errorInfo);
public void AddError(Exception errorInfo);
member this.AddError : Exception -> unit
Public Sub AddError (errorInfo As Exception)

Parameters

errorInfo
Exception

De Exception toe te voegen aan de uitzonderingsverzameling.

Van toepassing op