HttpContext.AddError(Exception) HttpContext.AddError(Exception) HttpContext.AddError(Exception) HttpContext.AddError(Exception) Method

정의

현재 HTTP 요청에 대한 예외 컬렉션에 예외를 추가합니다.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)

매개 변수

errorInfo
Exception Exception Exception Exception

예외 컬렉션에 추가할 Exception입니다.The Exception to add to the exception collection.

적용 대상