ClientBuilder 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ClientBuilder(IServiceCollection) |
初始化 ClientBuilder 类的新实例。 |
ClientBuilder(IServiceCollection, IConfiguration) |
初始化 ClientBuilder 类的新实例。 |
ClientBuilder(IServiceCollection)
初始化 ClientBuilder 类的新实例。
public ClientBuilder (Microsoft.Extensions.DependencyInjection.IServiceCollection services);
new Orleans.Hosting.ClientBuilder : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Orleans.Hosting.ClientBuilder
Public Sub New (services As IServiceCollection)
参数
- services
- IServiceCollection
服务集合。
适用于
ClientBuilder(IServiceCollection, IConfiguration)
初始化 ClientBuilder 类的新实例。
public ClientBuilder (Microsoft.Extensions.DependencyInjection.IServiceCollection services, Microsoft.Extensions.Configuration.IConfiguration configuration);
new Orleans.Hosting.ClientBuilder : Microsoft.Extensions.DependencyInjection.IServiceCollection * Microsoft.Extensions.Configuration.IConfiguration -> Orleans.Hosting.ClientBuilder
Public Sub New (services As IServiceCollection, configuration As IConfiguration)
参数
- services
- IServiceCollection
服务集合。
- configuration
- IConfiguration