Enum
ServiceState
ConsoleMonster.Hosting
The state of a hosted service or of an entry the application reports.
Inheritance
- Enum
- ServiceState
Usage
Explore 9 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 8
- Field ServiceState.Completed
- Field ServiceState.Failed
- Field ServiceState.Running
- Field ServiceState.Starting
- Field ServiceState.Stopped
- Field ServiceState.Stopping
- Field ServiceState.Waiting
- Property ServiceStatus.State
Accepted by parameters 1
- Method IConsoleDashboard.SetStatus
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const ServiceState Completed #Its work finished on its own (a BackgroundService whose ExecuteAsync returned).
Value:
5