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)

Source:
ClientBuilderExtensions.cs

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

public static Orleans.IClientBuilder UseLocalhostClustering (this Orleans.IClientBuilder builder, int gatewayPort = 30000, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.IClientBuilder * int * string * string -> Orleans.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
gatewayPort
Int32

The local silo's gateway port.

serviceId
String

The service id.

clusterId
String

The cluster id.

Returns

Applies to

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

Source:
ClientBuilderExtensions.cs

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

public static Orleans.IClientBuilder UseLocalhostClustering (this Orleans.IClientBuilder builder, int[] gatewayPorts, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.IClientBuilder * int[] * string * string -> Orleans.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
gatewayPorts
Int32[]

The local silo gateway ports.

serviceId
String

The service id.

clusterId
String

The cluster id.

Returns

Applies to