Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

WorkflowMarkupSerializer.OnBeforeDeserialize Method

Overridden. Notifies the WorkflowMarkupSerializer that an object is about to be deserialized.

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

protected virtual void OnBeforeDeserialize(
	WorkflowMarkupSerializationManager serializationManager,
	Object obj


Type: System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager that managed the deserialization process.

Type: System.Object

The Object that was deserialized.

OnBeforeDeserialize is called immediately before the Deserialize method runs. You can override OnBeforeSerialize in a class that inherits WorkflowMarkupSerializer to perform required processing on obj before it is serialized to extensible Application Markup Language (XAML).

OnBeforeDeserialize provides no default behavior. You must override it in a derived class to add any processing logic.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0
© 2015 Microsoft