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.

C#
public static Microsoft.Extensions.DependencyInjection.IServiceCollection UseServiceFabricClustering(this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, System.Fabric.ServiceContext serviceContext);

Parameters

serviceCollection
IServiceCollection

The service collection.

serviceContext
ServiceContext

The Service Fabric service context.

Returns

The provided service collection.

Applies to

.NET Orleans 3.4.5
Product Versions
.NET Orleans 3.4.5

UseServiceFabricClustering(ISiloHostBuilder, ServiceContext)

Adds Service Fabric cluster membership support.

C#
public static Orleans.Hosting.ISiloHostBuilder UseServiceFabricClustering(this Orleans.Hosting.ISiloHostBuilder builder, System.Fabric.ServiceContext serviceContext);

Parameters

builder
ISiloHostBuilder

The host builder.

serviceContext
ServiceContext

The Service Fabric service context.

Returns

The provided service collection.

Applies to

.NET Orleans 3.4.5
Product Versions
.NET Orleans 3.4.5

UseServiceFabricClustering(IClientBuilder, String)

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

C#
public static Orleans.IClientBuilder UseServiceFabricClustering(this Orleans.IClientBuilder clientBuilder, string serviceName);

Parameters

clientBuilder
IClientBuilder

The client builder.

serviceName
String

The Service Fabric service name.

Returns

The provided client builder.

Applies to

.NET Orleans 3.4.5
Product Versions
.NET Orleans 3.4.5

UseServiceFabricClustering(IClientBuilder, Uri)

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

C#
public static Orleans.IClientBuilder UseServiceFabricClustering(this Orleans.IClientBuilder clientBuilder, Uri serviceName);

Parameters

clientBuilder
IClientBuilder

The client builder.

serviceName
Uri

The Service Fabric service name.

Returns

The provided client builder.

Applies to

.NET Orleans 3.4.5
Product Versions
.NET Orleans 3.4.5