Oracle® Coherence .NET API Reference Release 3.6
E15727-01

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: 3.6.0.0 (3.6.0.0)

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