Partilhar via


SiloHostBuilderExtensions.UseEnvironment(ISiloHostBuilder, String) Método

Definição

Especificar o ambiente a ser usado pelo 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

Parâmetros

hostBuilder
ISiloHostBuilder

O construtor de host a ser configurado.

environment
String

O ambiente no qual hospedar o aplicativo.

Retornos

O construtor de host.

Aplica-se a