ClientBuilderExtensions.UseLocalhostClustering Metodo

Definizione

Overload

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configura il client per connettersi a un silo nel localhost.

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

Configura il client per connettersi a un silo nel localhost.

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configura il client per connettersi a un silo nel 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

Parametri

builder
IClientBuilder

Generatore client.

gatewayPort
Int32

Porta gateway del silo locale.

serviceId
String

ID servizio.

clusterId
String

ID cluster.

Restituisce

Oggetto IClientBuilder.

Si applica a

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

Configura il client per connettersi a un silo nel 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

Parametri

builder
IClientBuilder

Generatore client.

gatewayPorts
Int32[]

Porte del gateway silo locali.

serviceId
String

ID servizio.

clusterId
String

ID cluster.

Restituisce

Oggetto IClientBuilder.

Si applica a