Search
Task.SaveTo Method (BinaryWriter, BinarySerializationContext)
See Also
 





Saves the task data to a binary stream.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public override void SaveTo (
    BinaryWriter writer,
    BinarySerializationContext context
)

Visual Basic  Copy Code

Public Overrides Sub SaveTo ( _
    writer As BinaryWriter, _
    context As BinarySerializationContext _
)

 Parameters

writer

Allows writing primitive data types to the binary stream.

context

The context object contains the file format revision number of the schedule being loaded. It also provides methods that facilitate reading and writing various data types from and to the stream.

 Remarks

This method saves the task properties as elements in an XML document. Later they can be restored via the LoadFrom method.

 See Also