OrleansServiceFabricExtensions.UseServiceFabricClustering 方法

定义

重载

UseServiceFabricClustering(IServiceCollection, ServiceContext)

添加 Service Fabric 群集成员身份支持。

UseServiceFabricClustering(ISiloHostBuilder, ServiceContext)

添加 Service Fabric 群集成员身份支持。

UseServiceFabricClustering(IClientBuilder, String)

添加了对连接到 Service Fabric 中托管的群集的支持。

UseServiceFabricClustering(IClientBuilder, Uri)

添加了对连接到 Service Fabric 中托管的群集的支持。

UseServiceFabricClustering(IServiceCollection, ServiceContext)

添加 Service Fabric 群集成员身份支持。

public static Microsoft.Extensions.DependencyInjection.IServiceCollection UseServiceFabricClustering (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, System.Fabric.ServiceContext serviceContext);
static member UseServiceFabricClustering : Microsoft.Extensions.DependencyInjection.IServiceCollection * System.Fabric.ServiceContext -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function UseServiceFabricClustering (serviceCollection As IServiceCollection, serviceContext As ServiceContext) As IServiceCollection

参数

serviceCollection
IServiceCollection

服务集合。

serviceContext
ServiceContext

Service Fabric 服务上下文。

返回

提供的服务集合。

适用于

UseServiceFabricClustering(ISiloHostBuilder, ServiceContext)

添加 Service Fabric 群集成员身份支持。

public static Orleans.Hosting.ISiloHostBuilder UseServiceFabricClustering (this Orleans.Hosting.ISiloHostBuilder builder, System.Fabric.ServiceContext serviceContext);
static member UseServiceFabricClustering : Orleans.Hosting.ISiloHostBuilder * System.Fabric.ServiceContext -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseServiceFabricClustering (builder As ISiloHostBuilder, serviceContext As ServiceContext) As ISiloHostBuilder

参数

builder
ISiloHostBuilder

主机生成器。

serviceContext
ServiceContext

Service Fabric 服务上下文。

返回

提供的服务集合。

适用于

UseServiceFabricClustering(IClientBuilder, String)

添加了对连接到 Service Fabric 中托管的群集的支持。

public static Orleans.IClientBuilder UseServiceFabricClustering (this Orleans.IClientBuilder clientBuilder, string serviceName);
static member UseServiceFabricClustering : Orleans.IClientBuilder * string -> Orleans.IClientBuilder
<Extension()>
Public Function UseServiceFabricClustering (clientBuilder As IClientBuilder, serviceName As String) As IClientBuilder

参数

clientBuilder
IClientBuilder

客户端生成器。

serviceName
String

Service Fabric 服务名称。

返回

提供的客户端生成器。

适用于

UseServiceFabricClustering(IClientBuilder, Uri)

添加了对连接到 Service Fabric 中托管的群集的支持。

public static Orleans.IClientBuilder UseServiceFabricClustering (this Orleans.IClientBuilder clientBuilder, Uri serviceName);
static member UseServiceFabricClustering : Orleans.IClientBuilder * Uri -> Orleans.IClientBuilder
<Extension()>
Public Function UseServiceFabricClustering (clientBuilder As IClientBuilder, serviceName As Uri) As IClientBuilder

参数

clientBuilder
IClientBuilder

客户端生成器。

serviceName
Uri

Service Fabric 服务名称。

返回

提供的客户端生成器。

适用于