Table of Contents

Class HostLockException

Namespace
Valheim.Testing.GameSessions
Assembly
Valheim.Testing.GameSessions.dll

A lock could not be taken or released: another run holds it (HeldByOther) or the outcome is unknown.

public sealed class HostLockException : InvalidOperationException
Inheritance
object
Exception
SystemException
InvalidOperationException
HostLockException

Constructors

HostLockException(HostLockResult)

A lock could not be taken or released: another run holds it (HeldByOther) or the outcome is unknown.

public HostLockException(HostLockResult result)

Parameters

result HostLockResult

Properties

Holder

public string? Holder { get; }

Property Value

string

Result

public HostLockResult Result { get; }

Property Value

HostLockResult

State

public HostLockState State { get; }

Property Value

HostLockState