MindFusion.Scheduling for ASP.NET Programmer's Guide
Task.SaveTo Method (BinaryWriter, BinarySerializationContext)
See Also
 





Saves task data to a binary stream.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.WebForms

 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
Type: BinaryWriter
A System.IO.BinaryWriter class that allows writing primitive data types to the binary stream.
context
Type: BinarySerializationContext
A BinarySerializationContext object that 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 task data as elements in an XML document. Later they can be restored with the the LoadFrom method.

 See Also

SaveTo Method Overload List
Task Members
Task Class
MindFusion.Scheduling Namespace