Class LobbyException
- Namespace
- SteamNetworkLib.Exceptions
- Assembly
- SteamNetworkLib.dll
Exception thrown when lobby-specific operations fail. Provides additional context about Steam lobby operations including result codes and lobby IDs.
public class LobbyException : SteamNetworkException, ISerializable
- Inheritance
-
LobbyException
- Implements
- Inherited Members
Constructors
LobbyException()
Initializes a new instance of the LobbyException class.
public LobbyException()
LobbyException(string)
Initializes a new instance of the LobbyException class with a specified error message.
public LobbyException(string message)
Parameters
messagestringThe message that describes the error.
LobbyException(string, CSteamID)
Initializes a new instance of the LobbyException class with a specified error message and lobby ID.
public LobbyException(string message, CSteamID lobbyId)
Parameters
messagestringThe message that describes the error.
lobbyIdCSteamIDThe Steam ID of the lobby associated with the operation.
LobbyException(string, EResult)
Initializes a new instance of the LobbyException class with a specified error message and Steam result code.
public LobbyException(string message, EResult steamResult)
Parameters
messagestringThe message that describes the error.
steamResultEResultThe Steam result code that indicates the specific failure reason.
LobbyException(string, EResult, CSteamID)
Initializes a new instance of the LobbyException class with a specified error message, Steam result code, and lobby ID.
public LobbyException(string message, EResult steamResult, CSteamID lobbyId)
Parameters
messagestringThe message that describes the error.
steamResultEResultThe Steam result code that indicates the specific failure reason.
lobbyIdCSteamIDThe Steam ID of the lobby associated with the operation.
LobbyException(string, Exception)
Initializes a new instance of the LobbyException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public LobbyException(string message, Exception inner)
Parameters
messagestringThe error message that explains the reason for the exception.
innerExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified.
Properties
LobbyId
Gets the Steam ID of the lobby associated with the operation, if available.
public CSteamID? LobbyId { get; }
Property Value
- CSteamID?
SteamResult
Gets the Steam result code associated with the lobby operation, if available.
public EResult? SteamResult { get; }
Property Value
- EResult?