NodeInvocationInfo 類別

定義

警告

Use Microsoft.AspNetCore.SpaServices.Extensions

描述從 .NET 程式碼傳送至 Node.js 程式碼的 RPC 呼叫。

public ref class NodeInvocationInfo
public class NodeInvocationInfo
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public class NodeInvocationInfo
type NodeInvocationInfo = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type NodeInvocationInfo = class
Public Class NodeInvocationInfo
繼承
NodeInvocationInfo
屬性

建構函式

NodeInvocationInfo()
已淘汰.

描述從 .NET 程式碼傳送至 Node.js 程式碼的 RPC 呼叫。

屬性

Args
已淘汰.

要傳遞至所叫用 Node.js 函式的 JSON 可序列化引數序列。

ExportedFunctionName
已淘汰.

如果設定,則會指定要叫用的 CommonJS 函式匯出名稱。 如果未設定,Node.js 模組的預設匯出本身必須是要叫用的函式。

ModuleName
已淘汰.

指定 Node.js 模組 (的路徑,也就是 .js 檔案) 相對於專案根目錄。

適用於