Partager via


ClientBuilderExtensions.UseLocalhostClustering Méthode

Définition

Surcharges

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configure le client pour qu’il se connecte à un silo sur localhost.

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

Configure le client pour qu’il se connecte à un silo sur localhost.

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configure le client pour qu’il se connecte à un silo sur 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

Paramètres

builder
IClientBuilder

Générateur de client.

gatewayPort
Int32

Port de passerelle du silo local.

serviceId
String

ID de service.

clusterId
String

ID de cluster.

Retours

Le IClientBuilder.

S’applique à

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

Configure le client pour qu’il se connecte à un silo sur 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

Paramètres

builder
IClientBuilder

Générateur de client.

gatewayPorts
Int32[]

Ports de passerelle de silo local.

serviceId
String

ID de service.

clusterId
String

ID de cluster.

Retours

Le IClientBuilder.

S’applique à