Returns the classId of the instance being serialized. This is used by deserialization to determine what instance type to create and deserialize into.

Namespace: GemStone.GemFire.Cache
Assembly:  GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
Version: 2.7.0.0

Syntax

C#
uint ClassId{ get;}
Visual Basic (Declaration)
ReadOnly Property ClassId As UInteger
Visual C++
property unsigned int ClassId {
	unsigned int get ();
}

Return Value

the classId

Remarks

The classId must be unique within an application suite and in the range 0 to ((2^31)-1) both inclusive. An application can thus define upto 2^31 custom IGFSerializable classes. Returning a value greater than ((2^31)-1) may result in undefined behaviour.

See Also