EnvironmentName 类

定义

注意

EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.

常用的环境名称。

此类型已过时,将在将来的版本中删除。 建议的替代方法是Microsoft.Extensions.Hosting.Environments。

public ref class EnvironmentName abstract sealed
[System.Obsolete("EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.")]
public static class EnvironmentName
[<System.Obsolete("EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.")>]
type EnvironmentName = class
Public Class EnvironmentName
继承
EnvironmentName
属性

字段

Development
已过时.

开发环境的名称。

Production
已过时.

生产环境的名称。

Staging
已过时.

暂存环境的名称。

适用于