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.HttpUnhandledExceptionPublic 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.HttpUnhandledExceptionPublic Sub New (message As String, innerException As Exception)参数
- message
- String
引发异常时显示到客户端的消息。
- innerException
- Exception
引发了当前异常的 InnerException(如果有)。