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.5.0.1
Syntax
| C# |
|---|
byte ClassId{ get;} |
| Visual Basic (Declaration) |
|---|
ReadOnly Property ClassId As Byte |
| Visual C++ |
|---|
property unsigned char ClassId { unsigned char get (); } |
Return Value
the classId
Remarks
The classId must be unique within an application suite
and in the range 0-127 both inclusive. An application can
thus define upto 128 custom IGFSerializable classes.
Returning a value greater than 127 will result in undefined
behaviour.
See Also
IGFSerializable Interface
GemStone.GemFire.Cache Namespace