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 实例。
- 属性