NodeServicesFactory.CreateNodeServices(NodeServicesOptions) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
Use Microsoft.AspNetCore.SpaServices.Extensions
INodeServices根據提供的選項建立實例。
public:
static Microsoft::AspNetCore::NodeServices::INodeServices ^ CreateNodeServices(Microsoft::AspNetCore::NodeServices::NodeServicesOptions ^ options);
public static Microsoft.AspNetCore.NodeServices.INodeServices CreateNodeServices (Microsoft.AspNetCore.NodeServices.NodeServicesOptions options);
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static Microsoft.AspNetCore.NodeServices.INodeServices CreateNodeServices (Microsoft.AspNetCore.NodeServices.NodeServicesOptions options);
static member CreateNodeServices : Microsoft.AspNetCore.NodeServices.NodeServicesOptions -> Microsoft.AspNetCore.NodeServices.INodeServices
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
static member CreateNodeServices : Microsoft.AspNetCore.NodeServices.NodeServicesOptions -> Microsoft.AspNetCore.NodeServices.INodeServices
Public Shared Function CreateNodeServices (options As NodeServicesOptions) As INodeServices
參數
- options
- NodeServicesOptions
建立 INodeServices 實例的選項。
傳回
INodeServices 執行個體。
- 屬性