HttpUnhandledException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 HttpUnhandledException 類別的新執行個體。
多載
HttpUnhandledException() |
初始化 HttpUnhandledException 類別的新執行個體。 |
HttpUnhandledException(String) |
使用指定的錯誤訊息,初始化 HttpUnhandledException 類別的新執行個體。 |
HttpUnhandledException(String, Exception) |
使用指定的錯誤訊息和內部例外狀況,初始化 HttpUnhandledException 類別的新執行個體。 |
HttpUnhandledException()
初始化 HttpUnhandledException 類別的新執行個體。
public:
HttpUnhandledException();
public HttpUnhandledException ();
Public Sub New ()
適用於
HttpUnhandledException(String)
使用指定的錯誤訊息,初始化 HttpUnhandledException 類別的新執行個體。
public:
HttpUnhandledException(System::String ^ message);
public HttpUnhandledException (string message);
new System.Web.HttpUnhandledException : string -> System.Web.HttpUnhandledException
Public Sub New (message As String)
參數
- message
- String
擲回例外狀況時,向用戶端顯示的訊息。
適用於
HttpUnhandledException(String, Exception)
使用指定的錯誤訊息和內部例外狀況,初始化 HttpUnhandledException 類別的新執行個體。
public:
HttpUnhandledException(System::String ^ message, Exception ^ innerException);
public HttpUnhandledException (string message, Exception innerException);
new System.Web.HttpUnhandledException : string * Exception -> System.Web.HttpUnhandledException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
擲回例外狀況時,向用戶端顯示的訊息。
- innerException
- Exception
擲回目前例外狀況的 InnerException (如果有的話)。