NodeInvocationException Class

Definition

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Represents an exception caused by invoking Node.js code.

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
Inheritance
NodeInvocationException
Attributes

Constructors

NodeInvocationException(String, String)

Creates a new instance of NodeInvocationException.

NodeInvocationException(String, String, Boolean, Boolean)

Creates a new instance of NodeInvocationException.

Properties

AllowConnectionDraining

If true, indicates that even though the invocation failed because the Node.js instance could not be reached or needs to be restarted, that Node.js instance may remain alive for a period in order to complete any outstanding requests.

NodeInstanceUnavailable

If true, indicates that the invocation failed because the Node.js instance could not be reached. For example, it might have already shut down or previously crashed.

Applies to