Edytuj

Udostępnij za pośrednictwem


OrleansServiceFabricExtensions.UseServiceFabricClustering Method

Definition

Overloads

UseServiceFabricClustering(IServiceCollection, ServiceContext)

Adds Service Fabric cluster membership support.

UseServiceFabricClustering(ISiloHostBuilder, ServiceContext)

Adds Service Fabric cluster membership support.

UseServiceFabricClustering(IClientBuilder, String)

Adds support for connecting to a cluster hosted in Service Fabric.

UseServiceFabricClustering(IClientBuilder, Uri)

Adds support for connecting to a cluster hosted in Service Fabric.

UseServiceFabricClustering(IServiceCollection, ServiceContext)

Adds Service Fabric cluster membership support.

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

Parameters

serviceCollection
IServiceCollection

The service collection.

serviceContext
ServiceContext

The Service Fabric service context.

Returns

The provided service collection.

Applies to

UseServiceFabricClustering(ISiloHostBuilder, ServiceContext)

Adds Service Fabric cluster membership support.

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

Parameters

builder
ISiloHostBuilder

The host builder.

serviceContext
ServiceContext

The Service Fabric service context.

Returns

The provided service collection.

Applies to

UseServiceFabricClustering(IClientBuilder, String)

Adds support for connecting to a cluster hosted in 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

Parameters

clientBuilder
IClientBuilder

The client builder.

serviceName
String

The Service Fabric service name.

Returns

The provided client builder.

Applies to

UseServiceFabricClustering(IClientBuilder, Uri)

Adds support for connecting to a cluster hosted in 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

Parameters

clientBuilder
IClientBuilder

The client builder.

serviceName
Uri

The Service Fabric service name.

Returns

The provided client builder.

Applies to