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 实例。 例如,它可能已经关闭或以前崩溃。

适用于