Edit

Bagikan melalui


HttpContext.AddError(Exception) Method

Definition

Adds an exception to the exception collection for the current HTTP request.

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

Parameters

errorInfo
Exception

The Exception to add to the exception collection.

Applies to