InsufficientExecutionStackException 构造函数

定义

初始化 InsufficientExecutionStackException 类的新实例。Initializes a new instance of the InsufficientExecutionStackException class.

重载

InsufficientExecutionStackException()

初始化 InsufficientExecutionStackException 类的新实例。Initializes a new instance of the InsufficientExecutionStackException class.

InsufficientExecutionStackException(String)

用指定的错误消息初始化 InsufficientExecutionStackException 类的新实例。Initializes a new instance of the InsufficientExecutionStackException class with a specified error message.

InsufficientExecutionStackException(String, Exception)

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 InsufficientExecutionStackException 类的新实例。Initializes a new instance of the InsufficientExecutionStackException class with a specified error message and a reference to the inner exception that is the cause of this exception.

InsufficientExecutionStackException()

初始化 InsufficientExecutionStackException 类的新实例。Initializes a new instance of the InsufficientExecutionStackException class.

public:
 InsufficientExecutionStackException();
public InsufficientExecutionStackException ();
Public Sub New ()

适用于

InsufficientExecutionStackException(String)

用指定的错误消息初始化 InsufficientExecutionStackException 类的新实例。Initializes a new instance of the InsufficientExecutionStackException class with a specified error message.

public:
 InsufficientExecutionStackException(System::String ^ message);
public InsufficientExecutionStackException (string message);
public InsufficientExecutionStackException (string? message);
new InsufficientExecutionStackException : string -> InsufficientExecutionStackException
Public Sub New (message As String)

参数

message
String

解释异常原因的错误消息。The error message that explains the reason for the exception.

适用于

InsufficientExecutionStackException(String, Exception)

使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 InsufficientExecutionStackException 类的新实例。Initializes a new instance of the InsufficientExecutionStackException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public:
 InsufficientExecutionStackException(System::String ^ message, Exception ^ innerException);
public InsufficientExecutionStackException (string message, Exception innerException);
public InsufficientExecutionStackException (string? message, Exception? innerException);
new InsufficientExecutionStackException : string * Exception -> InsufficientExecutionStackException
Public Sub New (message As String, innerException As Exception)

参数

message
String

解释异常原因的错误消息。The error message that explains the reason for the exception.

innerException
Exception

导致当前异常的异常。The exception that is the cause of the current exception. 如果 inner 参数不为 null,则当前异常会在处理内部异常的 catch 块中引发。If the inner parameter is not null, the current exception is raised in a catch block that handles the inner exception.

适用于