OnBeforeDeserialize Method

WorkflowMarkupSerializer.OnBeforeDeserialize Method (WorkflowMarkupSerializationManager, Object)

 

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
)

Parameters

serializationManager
Type: System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager that managed the deserialization process.

obj
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
Available since 3.0
Return to top
Show:
© 2016 Microsoft