Table of Contents

Class ProcessStop

Namespace
Valheim.Testing.Game
Assembly
Valheim.Testing.Game.dll

What stopping an owned process did.

public sealed record ProcessStop
Inheritance
object
ProcessStop

Constructors

ProcessStop(StopOutcome, int?, TimeSpan, string)

What stopping an owned process did.

public ProcessStop(StopOutcome Outcome, int? ExitCode, TimeSpan Elapsed, string Request)

Parameters

Outcome StopOutcome

Whether it quit cleanly, was killed or had already exited.

ExitCode int?

Its exit code, when known.

Elapsed TimeSpan

From the stop request to the exit.

Request string

How it was asked to quit, and anything that went wrong asking.

Properties

Elapsed

From the stop request to the exit.

public TimeSpan Elapsed { get; init; }

Property Value

TimeSpan

ExitCode

Its exit code, when known.

public int? ExitCode { get; init; }

Property Value

int?

Outcome

Whether it quit cleanly, was killed or had already exited.

public StopOutcome Outcome { get; init; }

Property Value

StopOutcome

Request

How it was asked to quit, and anything that went wrong asking.

public string Request { get; init; }

Property Value

string

Methods

ToString()

For example clean after 8.2 s (interrupt, exit 0) or killed after 120.0 s (interrupt; no exit within 120 s).

public override string ToString()

Returns

string