HttpContextWrapper.AddError(Exception) Metod

Definition

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

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

Parametrar

errorInfo
Exception

Undantaget att lägga till i undantagssamlingen.

Gäller för