WorkflowMarkupSerializer.OnAfterSerialize Method (WorkflowMarkupSerializationManager, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Notifies the WorkflowMarkupSerializer that an object has just been serialized.

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

protected virtual void OnAfterSerialize(
	WorkflowMarkupSerializationManager serializationManager,
	object obj
)

Parameters

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

The WorkflowMarkupSerializationManager that manages the serialization process.

obj
Type: System.Object

The Object that was serialized.

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.

.NET Framework
Available since 3.0
Return to top
Show: