Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
EnvironmentName Class
Definition
- Namespace:
- Microsoft.Extensions.Hosting
- Assembly:
- Microsoft.Extensions.Hosting.Abstractions.dll
- Package:
- Microsoft.Extensions.Hosting.Abstractions v11.0.0-preview.5.26302.115
- Source:
- EnvironmentName.cs
- Source:
- EnvironmentName.cs
- Source:
- EnvironmentName.cs
- Source:
- EnvironmentName.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
EnvironmentName has been deprecated. Use Microsoft.Extensions.Hosting.Environments instead.
Commonly used environment names.
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
[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
- Inheritance
-
EnvironmentName
- Attributes
Fields
| Name | Description |
|---|---|
| Development |
The name of the Development environment. |
| Production |
The name of the Production environment. |
| Staging |
The name of the Staging environment. |
Applies to
Feedback
Was this page helpful?
