SerializationManager.Serialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Serialize(Object, BinaryTokenStreamWriter) |
Serialize the specified object, using Serializer functions previously registered for this type. |
Serialize(Object, IBinaryTokenStreamWriter) |
Serialize the specified object, using Serializer functions previously registered for this type. |
Serialize(Object, BinaryTokenStreamWriter)
Serialize the specified object, using Serializer functions previously registered for this type.
public void Serialize (object raw, Orleans.Serialization.BinaryTokenStreamWriter stream);
member this.Serialize : obj * Orleans.Serialization.BinaryTokenStreamWriter -> unit
Public Sub Serialize (raw As Object, stream As BinaryTokenStreamWriter)
Parameters
- raw
- Object
The input data to be serialized.
- stream
- BinaryTokenStreamWriter
The output stream to write to.
Applies to
Serialize(Object, IBinaryTokenStreamWriter)
- Source:
- SerializationManager.cs
Serialize the specified object, using Serializer functions previously registered for this type.
public void Serialize (object raw, Orleans.Serialization.IBinaryTokenStreamWriter stream);
member this.Serialize : obj * Orleans.Serialization.IBinaryTokenStreamWriter -> unit
Public Sub Serialize (raw As Object, stream As IBinaryTokenStreamWriter)
Parameters
- raw
- Object
The input data to be serialized.
- stream
- IBinaryTokenStreamWriter
The output stream to write to.