ConnectionBuilder(IServiceProvider) 构造函数

定义

初始化 ConnectionBuilder 的新实例。

public:
 ConnectionBuilder(IServiceProvider ^ applicationServices);
public ConnectionBuilder (IServiceProvider applicationServices);
new Microsoft.AspNetCore.Connections.ConnectionBuilder : IServiceProvider -> Microsoft.AspNetCore.Connections.ConnectionBuilder
Public Sub New (applicationServices As IServiceProvider)

参数

applicationServices
IServiceProvider

应用程序服务 IServiceProvider

适用于