HttpContextBase.AddError(Exception) Méthode

Définition

En cas de substitution dans une classe dérivée, ajoute une exception à la collection d’exceptions pour la requête HTTP actuelle.

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

Paramètres

errorInfo
Exception

Exception à ajouter à la collection d’exceptions.

Exceptions

S’applique à