Class SyncValidationException
- Namespace
- SteamNetworkLib.Sync
- Assembly
- SteamNetworkLib.dll
Exception thrown when value validation fails before sync.
public class SyncValidationException : Exception, ISerializable
- Inheritance
-
SyncValidationException
- Implements
- Inherited Members
Constructors
SyncValidationException(string)
Initializes a new instance of the SyncValidationException class.
public SyncValidationException(string message)
Parameters
messagestringThe error message.
SyncValidationException(string, string, object?)
Initializes a new instance of the SyncValidationException class.
public SyncValidationException(string message, string syncKey, object? invalidValue)
Parameters
messagestringThe error message.
syncKeystringThe sync key associated with the operation.
invalidValueobjectThe value that failed validation.
Properties
InvalidValue
Gets the invalid value, if available.
public object? InvalidValue { get; }
Property Value
SyncKey
Gets the key associated with the sync operation, if available.
public string? SyncKey { get; }