 | ClusterShardingMessageSerializerToBinary Method |
Serializes the given object into a byte array
Namespace:
Akka.Cluster.Sharding.Serialization
Assembly:
Akka.Cluster.Sharding (in Akka.Cluster.Sharding.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic override byte[] ToBinary(
Object obj
)
abstract ToBinary :
obj : Object -> byte[]
override ToBinary :
obj : Object -> byte[]
Parameters
- obj
- Type: SystemObject
The object to serialize
Return Value
Type:
ByteA byte array containing the serialized object
ExceptionsException | Condition |
---|
ArgumentException |
This exception is thrown when the specified obj is of an unknown type.
|
See Also