Edit

Share via


ClientBuilderExtensions.UseLocalhostClustering Method

Definition

Overloads

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configures the client to connect to a silo on the localhost.

UseLocalhostClustering(IClientBuilder, Int32[], String, String)

Configures the client to connect to a silo on the localhost.

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configures the client to connect to a silo on the localhost.

public static Orleans.Hosting.IClientBuilder UseLocalhostClustering (this Orleans.Hosting.IClientBuilder builder, int gatewayPort = 30000, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.IClientBuilder * int * string * string -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As IClientBuilder, Optional gatewayPort As Integer = 30000, Optional serviceId As String = "dev", Optional clusterId As String = "dev") As IClientBuilder

Parameters

builder
IClientBuilder

The client builder.

gatewayPort
Int32

The local silo's gateway port.

serviceId
String

The service id.

clusterId
String

The cluster id.

Returns

The IClientBuilder.

Applies to

UseLocalhostClustering(IClientBuilder, Int32[], String, String)

Configures the client to connect to a silo on the localhost.

public static Orleans.Hosting.IClientBuilder UseLocalhostClustering (this Orleans.Hosting.IClientBuilder builder, int[] gatewayPorts, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.IClientBuilder * int[] * string * string -> Orleans.Hosting.IClientBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As IClientBuilder, gatewayPorts As Integer(), Optional serviceId As String = "dev", Optional clusterId As String = "dev") As IClientBuilder

Parameters

builder
IClientBuilder

The client builder.

gatewayPorts
Int32[]

The local silo gateway ports.

serviceId
String

The service id.

clusterId
String

The cluster id.

Returns

The IClientBuilder.

Applies to