編輯

共用方式為


WorkflowMarkupSerializer.OnAfterDeserialize Method

Definition

Overridden. Notifies the WorkflowMarkupSerializer that an object has just been deserialized.

protected:
 virtual void OnAfterDeserialize(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, System::Object ^ obj);
protected virtual void OnAfterDeserialize (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, object obj);
abstract member OnAfterDeserialize : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> unit
override this.OnAfterDeserialize : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * obj -> unit
Protected Overridable Sub OnAfterDeserialize (serializationManager As WorkflowMarkupSerializationManager, obj As Object)

Parameters

serializationManager
WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager that manages the serialization process.

obj
Object

The Object that was deserialized.

Remarks

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

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

Applies to