IDesignerSerializationManager.SerializationComplete Event
Collapse the table of content
Expand the table of content

WorkflowMarkupSerializationManager.IDesignerSerializationManager.SerializationComplete Event

 

Occurs when serialization is complete.

Namespace:   System.Workflow.ComponentModel.Serialization
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

event EventHandler IDesignerSerializationManager.SerializationComplete

This event is raised when serialization or deserialization is complete.

Generally, serialization code is written to emit serialization data and does not typically require state-related checking and processing. If it is necessary to maintain state data throughout serialization, data can be set and accessed by a serializer, which can listen to the E:System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.SerializationComplete event, and clear the data after serialization. Restoring the proper state after serialization is important because serializers can be reused during serialization, and leftover state data or open streams might not be correct.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft