TestClusterHostFactory.CreateClusterClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateClusterClient(String, IEnumerable<IConfigurationSource>) | |
CreateClusterClient(String, IConfiguration, Action<IHostBuilder>) |
Creates the cluster client. |
CreateClusterClient(String, IEnumerable<IConfigurationSource>)
- Source:
- 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
Parameters
- hostName
- String
- configurationSources
- IEnumerable<IConfigurationSource>
Returns
Applies to
CreateClusterClient(String, IConfiguration, Action<IHostBuilder>)
Creates the cluster client.
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
Parameters
- hostName
- String
Name of the host.
- configuration
- IConfiguration
The configuration.
- postConfigureHostBuilder
- Action<IHostBuilder>
An optional delegate which can be used to configure the host builder just prior to a host being built.
Returns
The cluster client host.