Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Gets or sets the version associated with the data stream from which this object was deserialized.

Namespace: Tangosol.IO
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public int DataVersion { get; set; }

Field Value

The version of the data used to initialize this object, greater than or equal to zero.

Implements

IEvolvable..::..DataVersion

Remarks

If the object was constructed (not deserialized), the data version is the same as the implementation version.

Exceptions

ExceptionCondition
System..::..ArgumentException If the specified version is negative.
System..::..InvalidOperationException If the object is not in a state in which the version can be set, for example outside of deserialization.

See Also