OutOfProcessNodeInstance 类   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use Microsoft.AspNetCore.SpaServices.Extensions
类负责在本地计算机上启动 Node 子进程,确定它何时准备好接受调用,检测它是否自行终止,最后在处置时终止它。
此抽象基类使用子进程的输入/输出流来执行简单的握手,以确定子进程何时准备好接受调用。 这与派生类用于实际执行调用的机制无关, (例如,它们可以使用 HTTP-RPC 或二进制 TCP 协议,或任何其他 RPC 类型机制) 。
public ref class OutOfProcessNodeInstance abstract : IDisposable, Microsoft::AspNetCore::NodeServices::HostingModels::INodeInstance
	public abstract class OutOfProcessNodeInstance : IDisposable, Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance
	[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public abstract class OutOfProcessNodeInstance : IDisposable, Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance
	type OutOfProcessNodeInstance = class
    interface INodeInstance
    interface IDisposable
	[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type OutOfProcessNodeInstance = class
    interface INodeInstance
    interface IDisposable
	Public MustInherit Class OutOfProcessNodeInstance
Implements IDisposable, INodeInstance
		- 继承
 - 
				OutOfProcessNodeInstance
 
- 属性
 
- 实现
 
构造函数
| OutOfProcessNodeInstance(String, String, String[], String, CancellationToken, ILogger, IDictionary<String,String>, Int32, Boolean, Int32) | 
			 
				已过时.
			 
		创建 OutOfProcessNodeInstance 的新实例。  | 
        	
字段
| OutputLogger | 
			 
				已过时.
			 
		ILoggerNode.js 实例的 stdout/stderr 被重定向到的 。  | 
        	
方法
| Dispose() | 
			 
				已过时.
			 
		释放此实例。  | 
        	
| Dispose(Boolean) | 
			 
				已过时.
			 
		释放实例。  | 
        	
| Finalize() | 
			 
				已过时.
			 
		通过调用 Dispose (false) 实现 IDisposable 模式的终结部分。  | 
        	
| InvokeExportAsync<T>(CancellationToken, String, String, Object[]) | 
			 
				已过时.
			 
		异步调用 Node.js 实例中的代码。  | 
        	
| InvokeExportAsync<T>(NodeInvocationInfo, CancellationToken) | 
			 
				已过时.
			 
		异步调用 Node.js 实例中的代码。  | 
        	
| OnErrorDataReceived(String) | 
			 
				已过时.
			 
		每当 Node.js 进程向其 stderr 发出行时调用的虚拟方法。  | 
        	
| OnOutputDataReceived(String) | 
			 
				已过时.
			 
		每当 Node.js 进程向其 stdout 发出行时调用的虚拟方法。  | 
        	
| PrepareNodeProcessStartInfo(String, String, String, IDictionary<String,String>, Boolean, Int32) | 
			 
				已过时.
			 
		配置描述 ProcessStartInfo 如何启动 Node.js 进程的实例。  |