HttpContext.AddError(Exception) 方法

定義

將例外狀況加入目前 HTTP 要求的例外狀況集合。

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

參數

errorInfo
Exception

要加入例外狀況集合的 Exception

適用於