共用方式為


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

暫存環境的字串常數。

適用於