SiloHostBuilderExtensions.UseEnvironment(ISiloHostBuilder, String) 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.
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.