Constructs a new enumerator.
The name of the enumerator.
The numeric value of the enumerator.
Readonly
nameThe name of the enumerator.
Readonly
valueThe value of the enumerator.
Static
Readonly
CompactThe Compact format assumes the sender and receiver have the same Slice definitions for classes. If an application receives a derived class it does not know, it is not capable of decoding it into a known base class because there is not enough information in the encoded payload. The compact format is more space-efficient on the wire.
Static
Readonly
SlicedThe Sliced format allows the receiver to slice off unknown slices. If an application receives a derived class it does not know, it can create a base class while preserving the unknown derived slices.
Returns a string representation of the current enumerator.
A string representation of the current enumerator.
Static
valueReturns the enumerator for the given value.
The numeric value of the enumerator.
The enumerator corresponding to the given value.
This enumeration describes the possible formats for classes.