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 例外集合。

適用於