EnvironmentName 类

定义

注意

This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.

常用的环境名称。

public ref class EnvironmentName abstract sealed
public static class EnvironmentName
[System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.", false)]
public static class EnvironmentName
type EnvironmentName = class
[<System.Obsolete("This type is obsolete and will be removed in a future version. The recommended alternative is Microsoft.Extensions.Hosting.Environments.", false)>]
type EnvironmentName = class
Public Class EnvironmentName
继承
EnvironmentName
属性

字段

Development
已过时.

开发环境的字符串常量。

Production
已过时.

生产环境的字符串常量。

Staging
已过时.

暂存环境的字符串常量。

适用于