Class SyncException
- Namespace
- SteamNetworkLib.Sync
- Assembly
- SteamNetworkLib.dll
Exception thrown when a sync operation fails due to network or state issues.
public class SyncException : Exception, ISerializable
- Inheritance
-
SyncException
- Implements
- Inherited Members
Constructors
SyncException(string)
Initializes a new instance of the SyncException class.
public SyncException(string message)
Parameters
messagestringThe error message.
SyncException(string, Exception)
Initializes a new instance of the SyncException class.
public SyncException(string message, Exception innerException)
Parameters
messagestringThe error message.
innerExceptionExceptionThe inner exception that caused this exception.
SyncException(string, string)
Initializes a new instance of the SyncException class with key information.
public SyncException(string message, string syncKey)
Parameters
SyncException(string, string, Exception)
Initializes a new instance of the SyncException class with full details.
public SyncException(string message, string syncKey, Exception innerException)
Parameters
messagestringThe error message.
syncKeystringThe sync key associated with the operation.
innerExceptionExceptionThe inner exception that caused this exception.
Properties
SyncKey
Gets the key associated with the sync operation, if available.
public string? SyncKey { get; }