NodeInvocationException 類別

定義

警告

Use Microsoft.AspNetCore.SpaServices.Extensions

表示叫用 Node.js 程式碼所造成的例外狀況。

public ref class NodeInvocationException : Exception
public class NodeInvocationException : Exception
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public class NodeInvocationException : Exception
type NodeInvocationException = class
    inherit Exception
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type NodeInvocationException = class
    inherit Exception
Public Class NodeInvocationException
Inherits Exception
繼承
NodeInvocationException
屬性

建構函式

NodeInvocationException(String, String)
已淘汰.

建立 NodeInvocationException 的新執行個體。

NodeInvocationException(String, String, Boolean, Boolean)
已淘汰.

建立 NodeInvocationException 的新執行個體。

屬性

AllowConnectionDraining
已淘汰.

如果為 true,表示即使叫用失敗,因為無法達到 Node.js 實例或需要重新開機,Node.js 實例可能會持續一段時間才能完成任何未處理的要求。

NodeInstanceUnavailable
已淘汰.

如果為 true,表示叫用失敗,因為無法連線到 Node.js 實例。 例如,它可能已經關閉或先前損毀。

適用於