 | NeonServiceSetStatusAsync Method |
Updates the service status. This is typically called internally by this
class but service code may set this to
Unhealthy
when there's a problem and back to
Running
when the service is healthy again.
Namespace:
Neon.Service
Assembly:
Neon.Service (in Neon.Service.dll) Version: 2.14.0
Syntaxpublic Task SetStatusAsync(
NeonServiceStatus status
)
Public Function SetStatusAsync (
status As NeonServiceStatus
) As Task
public:
Task^ SetStatusAsync(
NeonServiceStatus status
)
member SetStatusAsync :
status : NeonServiceStatus -> Task
Parameters
- status
- Type: Neon.ServiceNeonServiceStatus
The new status.
Return Value
Type:
Task[Missing <returns> documentation for "M:Neon.Service.NeonService.SetStatusAsync(Neon.Service.NeonServiceStatus)"]
See Also