Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

NodeInvocationException Class

Definition

Namespace:
Microsoft.AspNetCore.NodeServices.HostingModels
Assembly:
Microsoft.AspNetCore.NodeServices.dll
Package:
Microsoft.AspNetCore.NodeServices v2.0.0
Package:
Microsoft.AspNetCore.NodeServices v2.1.0
Package:
Microsoft.AspNetCore.NodeServices v2.2.0
Package:
Microsoft.AspNetCore.NodeServices v3.0.3
Package:
Microsoft.AspNetCore.NodeServices v3.1.18
Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs
Source:
NodeInvocationException.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Name Description
NodeInvocationException(String, String, Boolean, Boolean)

Creates a new instance of NodeInvocationException.

NodeInvocationException(String, String)

Creates a new instance of NodeInvocationException.

Properties

Name Description
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


Feedback

Was this page helpful?