共用方式為


NodeServicesOptions.NodeInstanceFactory 屬性

定義

指定如何建構 Node.js 實例。 會 INodeInstance 封裝如何啟動和通訊實例 Node.js 的所有詳細資料。 如果先前的實例已終止 (,則會自動建立新的 INodeInstance ,例如,因為原始程式檔已變更) 。

public:
 property Func<Microsoft::AspNetCore::NodeServices::HostingModels::INodeInstance ^> ^ NodeInstanceFactory { Func<Microsoft::AspNetCore::NodeServices::HostingModels::INodeInstance ^> ^ get(); void set(Func<Microsoft::AspNetCore::NodeServices::HostingModels::INodeInstance ^> ^ value); };
public Func<Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance> NodeInstanceFactory { get; set; }
member this.NodeInstanceFactory : Func<Microsoft.AspNetCore.NodeServices.HostingModels.INodeInstance> with get, set
Public Property NodeInstanceFactory As Func(Of INodeInstance)

屬性值

適用於