.NET Client Documentation
5.5.0
Search Results for

    Show / Hide Table of Contents

    WithEnvironment Method

    WithEnvironment(string)

    Sets the environment name to use when building the options.

    Declaration
    public TBuilder WithEnvironment(string environmentName)
    Parameters
    string environmentName

    The environment name.

    Returns
    TBuilder

    This options builder.

    Remarks

    By default, when not provided, the name is determined the standard .NET way, i.e. from the DOTNET_ENVIRONMENT and ASPNETCORE_ENVIRONMENT variables and, if not specified, defaults to "Production".

    In this article
    Back to top Copyright © 2010-2024 Hazelcast, Inc. All rights reserved.
    Generated by DocFX.