Freigeben über


NodeInvocationException Klasse

Definition

Achtung

Use Microsoft.AspNetCore.SpaServices.Extensions

Stellt eine Ausnahme dar, die durch das Aufrufen von Node.js Code verursacht wird.

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
Vererbung
NodeInvocationException
Attribute

Konstruktoren

NodeInvocationException(String, String)
Veraltet.

Erstellt eine neue Instanz von NodeInvocationException.

NodeInvocationException(String, String, Boolean, Boolean)
Veraltet.

Erstellt eine neue Instanz von NodeInvocationException.

Eigenschaften

AllowConnectionDraining
Veraltet.

Wenn true, gibt an, dass, obwohl der Aufruf fehlgeschlagen ist, weil die Node.js instance nicht erreicht werden konnte oder neu gestartet werden muss, dass Node.js instance möglicherweise für einen bestimmten Zeitraum am Leben bleibt, um alle ausstehenden Anforderungen abzuschließen.

NodeInstanceUnavailable
Veraltet.

Wenn true, gibt an, dass der Aufruf fehlgeschlagen ist, weil die Node.js instance nicht erreicht werden konnte. Es kann z. B. bereits heruntergefahren oder zuvor abgestürzt sein.

Gilt für: