Upraviť

Zdieľať cez


WorkflowMarkupSerializationManager.IDesignerSerializationManager.SerializationComplete Event

Definition

Occurs when serialization is complete.

event EventHandler System.ComponentModel.Design.Serialization.IDesignerSerializationManager.SerializationComplete;
member this.System.ComponentModel.Design.Serialization.IDesignerSerializationManager.SerializationComplete : EventHandler 
Custom Event SerializationComplete As EventHandler Implements System.ComponentModel.Design.Serialization.IDesignerSerializationManager

Event Type

Implements

Remarks

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 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.

Applies to