WorkflowMarkupSerializer.OnBeforeDeserialize Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overridden. Notifies the WorkflowMarkupSerializer that an object is about to be deserialized.
protected:
virtual void OnBeforeDeserialize(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, System::Object ^ obj);
protected virtual void OnBeforeDeserialize (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object obj);
abstract member OnBeforeDeserialize : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> unit
override this.OnBeforeDeserialize : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> unit
Protected Overridable Sub OnBeforeDeserialize (serializationManager As WorkflowMarkupSerializationManager, obj As Object)
Parameters
- serializationManager
- WorkflowMarkupSerializationManager
The WorkflowMarkupSerializationManager that managed the deserialization process.
Remarks
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.