EnvironmentName 类

定义

注意

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

注意

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

常用的环境名称。

此类型已过时,并将从未来版本中删除。 建议的替代项为 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
[System.Obsolete("EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.")]
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
[<System.Obsolete("EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.")>]
type EnvironmentName = class
Public Class EnvironmentName
继承
EnvironmentName
属性

字段

Development
已过时.
已过时.

开发环境的名称。

Production
已过时.
已过时.

生产环境的名称。

Staging
已过时.
已过时.

暂存环境的名称。

适用于