共用方式為


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 服務名稱。

傳回

提供的用戶端產生器。

適用於