Share via


NodeInvocationException 建構函式

定義

多載

NodeInvocationException(String, String)

建立 NodeInvocationException 的新執行個體。

NodeInvocationException(String, String, Boolean, Boolean)

建立 NodeInvocationException 的新執行個體。

NodeInvocationException(String, String)

來源:
NodeInvocationException.cs
來源:
NodeInvocationException.cs
來源:
NodeInvocationException.cs
來源:
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)

來源:
NodeInvocationException.cs
來源:
NodeInvocationException.cs
來源:
NodeInvocationException.cs
來源:
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

適用於