Class ExitingServerState
The LSP Server application has received an Exit notification and the process will exit with the ExitCode value.
public record ExitingServerState : ServerState, IEquatable<ServerState>, IEquatable<ExitingServerState>
- Inheritance
-
ExitingServerState
- Implements
- Inherited Members
Remarks
👉 ExitCode is an error code unless the current state is ShuttingDown or Starting
Server lifecycle § Exit Notification
Constructors
ExitingServerState(ServerStateValue)
The LSP Server application has received an Exit notification and the process will exit with the ExitCode value.
public ExitingServerState(ServerStateValue PreviousState)
Parameters
PreviousStateServerStateValueThe previous server state.
Remarks
👉 ExitCode is an error code unless the current state is ShuttingDown or Starting
Server lifecycle § Exit Notification
Properties
ExitCode
The exit code that the application process should use to exit.
public override int ExitCode { get; }
Property Value
PreviousState
The previous server state.
public ServerStateValue PreviousState { get; init; }