NodeInvocationException 构造函数

定义

重载

NodeInvocationException(String, String)

创建 NodeInvocationException 的新实例。

NodeInvocationException(String, String, Boolean, Boolean)

创建 NodeInvocationException 的新实例。

NodeInvocationException(String, String)

Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs

创建 NodeInvocationException 的新实例。

public:
 NodeInvocationException(System::String ^ message, System::String ^ details);
public NodeInvocationException (string message, string details);
new Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException : string * string -> Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException
Public Sub New (message As String, details As String)

参数

message
String

异常的说明。

details
String

表示异常的其他信息,例如 Node.js 堆栈跟踪。

适用于

NodeInvocationException(String, String, Boolean, Boolean)

Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs

创建 NodeInvocationException 的新实例。

public:
 NodeInvocationException(System::String ^ message, System::String ^ details, bool nodeInstanceUnavailable, bool allowConnectionDraining);
public NodeInvocationException (string message, string details, bool nodeInstanceUnavailable, bool allowConnectionDraining);
new Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException : string * string * bool * bool -> Microsoft.AspNetCore.NodeServices.HostingModels.NodeInvocationException
Public Sub New (message As String, details As String, nodeInstanceUnavailable As Boolean, allowConnectionDraining As Boolean)

参数

message
String

异常的说明。

details
String

表示异常的其他信息,例如 Node.js 堆栈跟踪。

nodeInstanceUnavailable
Boolean

指定标志的值 NodeInstanceUnavailable

allowConnectionDraining
Boolean

指定标志的值 AllowConnectionDraining

适用于