Share via


INodeServices 接口

定义

注意

Use Microsoft.AspNetCore.SpaServices.Extensions

表示在 Node.js 环境中调用代码的功能。 尽管基础 Node.js 实例可能会随时间而变化, (例如,进程可能会) 重启,但 INodeServices 实例将保持不变。

public interface class INodeServices : IDisposable
public interface INodeServices : IDisposable
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public interface INodeServices : IDisposable
type INodeServices = interface
    interface IDisposable
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type INodeServices = interface
    interface IDisposable
Public Interface INodeServices
Implements IDisposable
属性
实现

方法

InvokeAsync<T>(CancellationToken, String, Object[])
已过时.

异步调用 Node.js 实例中的代码。

InvokeAsync<T>(String, Object[])
已过时.

异步调用 Node.js 实例中的代码。

InvokeExportAsync<T>(CancellationToken, String, String, Object[])
已过时.

异步调用 Node.js 实例中的代码。

InvokeExportAsync<T>(String, String, Object[])
已过时.

异步调用 Node.js 实例中的代码。

适用于