Condividi tramite


TestClusterHostFactory.CreateClusterClient Metodo

Definizione

Overload

CreateClusterClient(String, IEnumerable<IConfigurationSource>)
CreateClusterClient(String, IConfiguration, Action<IHostBuilder>)

Crea il client del cluster.

CreateClusterClient(String, IEnumerable<IConfigurationSource>)

Origine:
TestClusterHostFactory.cs
public static Orleans.IClusterClient CreateClusterClient (string hostName, System.Collections.Generic.IEnumerable<Microsoft.Extensions.Configuration.IConfigurationSource> configurationSources);
static member CreateClusterClient : string * seq<Microsoft.Extensions.Configuration.IConfigurationSource> -> Orleans.IClusterClient
Public Shared Function CreateClusterClient (hostName As String, configurationSources As IEnumerable(Of IConfigurationSource)) As IClusterClient

Parametri

hostName
String
configurationSources
IEnumerable<IConfigurationSource>

Restituisce

Si applica a

CreateClusterClient(String, IConfiguration, Action<IHostBuilder>)

Crea il client del cluster.

public static Microsoft.Extensions.Hosting.IHost CreateClusterClient (string hostName, Microsoft.Extensions.Configuration.IConfiguration configuration, Action<Microsoft.Extensions.Hosting.IHostBuilder> postConfigureHostBuilder = default);
static member CreateClusterClient : string * Microsoft.Extensions.Configuration.IConfiguration * Action<Microsoft.Extensions.Hosting.IHostBuilder> -> Microsoft.Extensions.Hosting.IHost
Public Shared Function CreateClusterClient (hostName As String, configuration As IConfiguration, Optional postConfigureHostBuilder As Action(Of IHostBuilder) = Nothing) As IHost

Parametri

hostName
String

Nome dell'host.

configuration
IConfiguration

Configurazione.

postConfigureHostBuilder
Action<IHostBuilder>

Delegato facoltativo che può essere usato per configurare il generatore host appena prima della compilazione di un host.

Restituisce

Host client del cluster.

Si applica a