Compartilhar via


ClientBuilderExtensions.UseLocalhostClustering Método

Definição

Sobrecargas

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configurar o cliente para se conectar a um silo no localhost.

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

Configurar o cliente para se conectar a um silo no localhost.

UseLocalhostClustering(IClientBuilder, Int32, String, String)

Configurar o cliente para se conectar a um silo no 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

Parâmetros

builder
IClientBuilder

O construtor de clientes.

gatewayPort
Int32

A porta de gateway do silo local.

serviceId
String

A ID do serviço.

clusterId
String

A ID do cluster.

Retornos

O IClientBuilder.

Aplica-se a

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

Configurar o cliente para se conectar a um silo no 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

Parâmetros

builder
IClientBuilder

O construtor de clientes.

gatewayPorts
Int32[]

As portas do gateway de silo local.

serviceId
String

A ID do serviço.

clusterId
String

A ID do cluster.

Retornos

O IClientBuilder.

Aplica-se a