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
已淘汰.
已淘汰.

預備環境的名稱。

適用於