HttpContextBase.AddError(Exception) Metod

Definition

När det åsidosättas i en härledd klass lägger du till ett undantag till undantagssamlingen för den aktuella HTTP-begäran.

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)

Parametrar

errorInfo
Exception

Undantaget att lägga till i undantagssamlingen.

Undantag

Gäller för