Edit

Share via


SiloHostBuilderExtensions.UseEnvironment(ISiloHostBuilder, String) Method

Definition

Specify the environment to be used by the host.

public static Orleans.Hosting.ISiloHostBuilder UseEnvironment (this Orleans.Hosting.ISiloHostBuilder hostBuilder, string environment);
static member UseEnvironment : Orleans.Hosting.ISiloHostBuilder * string -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseEnvironment (hostBuilder As ISiloHostBuilder, environment As String) As ISiloHostBuilder

Parameters

hostBuilder
ISiloHostBuilder

The host builder to configure.

environment
String

The environment to host the application in.

Returns

The host builder.

Applies to