| 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)
Syntax public 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
Exceptions Exception | Condition |
---|
ArgumentException |
This exception is thrown when the specified obj is of an unknown type.
|
See Also