NodeInvocationException Kelas

Definisi

Perhatian

Use Microsoft.AspNetCore.SpaServices.Extensions

Mewakili pengecualian yang disebabkan oleh pemanggilan kode 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
Warisan
NodeInvocationException
Atribut

Konstruktor

NodeInvocationException(String, String, Boolean, Boolean)
Kedaluwarsa.

Membuat instans baru .NodeInvocationException

NodeInvocationException(String, String)
Kedaluwarsa.

Membuat instans baru .NodeInvocationException

Properti

AllowConnectionDraining
Kedaluwarsa.

Jika true, menunjukkan bahwa meskipun pemanggilan gagal karena instans Node.js tidak dapat dicapai atau perlu dimulai ulang, instans Node.js mungkin tetap hidup selama periode untuk menyelesaikan permintaan yang luar biasa.

NodeInstanceUnavailable
Kedaluwarsa.

Jika true, menunjukkan bahwa pemanggilan gagal karena instans Node.js tidak dapat dicapai. Misalnya, mungkin sudah dimatikan atau sebelumnya mengalami crash.

Berlaku untuk