Table of Contents

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

message string

The error message.

SyncValidationException(string, string, object?)

Initializes a new instance of the SyncValidationException class.

public SyncValidationException(string message, string syncKey, object? invalidValue)

Parameters

message string

The error message.

syncKey string

The sync key associated with the operation.

invalidValue object

The value that failed validation.

Properties

InvalidValue

Gets the invalid value, if available.

public object? InvalidValue { get; }

Property Value

object

SyncKey

Gets the key associated with the sync operation, if available.

public string? SyncKey { get; }

Property Value

string