HttpContext.AddError(Exception) Metod

Definition

Lägger till ett undantag i undantagssamlingen för den aktuella HTTP-begäran.

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

Parametrar

errorInfo
Exception

Att Exception lägga till i undantagssamlingen.

Gäller för