Table of Contents

Class ExitingServerState

Namespace
RDCore.SDK.Server.Services.States
Assembly
RDCore.SDK.dll

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

PreviousState ServerStateValue

The 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

int

PreviousState

The previous server state.

public ServerStateValue PreviousState { get; init; }

Property Value

ServerStateValue