HostAbortedException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| HostAbortedException() |
使用系统提供的错误消息初始化类的新实例 HostAbortedException 。 |
| HostAbortedException(String) |
使用指定的错误消息初始化类的新实例 HostAbortedException 。 |
| HostAbortedException(String, Exception) |
使用指定的错误消息和对作为此异常原因的内部异常的引用初始化 HostAbortedException 类的新实例。 |
HostAbortedException()
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
使用系统提供的错误消息初始化类的新实例 HostAbortedException 。
public:
HostAbortedException();
public HostAbortedException();
Public Sub New ()
适用于
HostAbortedException(String)
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
使用指定的错误消息初始化类的新实例 HostAbortedException 。
public:
HostAbortedException(System::String ^ message);
public HostAbortedException(string? message);
new Microsoft.Extensions.Hosting.HostAbortedException : string -> Microsoft.Extensions.Hosting.HostAbortedException
Public Sub New (message As String)
参数
- message
- String
解释异常原因的错误消息。
注解
message 的内容旨在由人类理解。 此构造函数的调用方必须确保此字符串已本地化为当前系统区域性。
适用于
HostAbortedException(String, Exception)
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
- Source:
- HostAbortedException.cs
使用指定的错误消息和对作为此异常原因的内部异常的引用初始化 HostAbortedException 类的新实例。
public:
HostAbortedException(System::String ^ message, Exception ^ innerException);
public HostAbortedException(string? message, Exception? innerException);
new Microsoft.Extensions.Hosting.HostAbortedException : string * Exception -> Microsoft.Extensions.Hosting.HostAbortedException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
解释异常原因的错误消息。
- innerException
- Exception
是当前异常原因的异常。
注解
message 的内容旨在由人类理解。 此构造函数的调用方必须确保此字符串已本地化为当前系统区域性。