Muokkaa

Jaa


WorkflowMarkupSerializer.OnAfterSerialize Method

Definition

Notifies the WorkflowMarkupSerializer that an object has just been serialized.

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

Parameters

serializationManager
WorkflowMarkupSerializationManager

The WorkflowMarkupSerializationManager that manages the serialization process.

obj
Object

The Object that was serialized.

Remarks

OnAfterSerialize is called immediately after the Serialize method runs. You can override OnAfterSerialize 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