ActivityMarkupSerializer.OnAfterSerialize 方法

定义

ActivityMarkupSerializer 通知刚序列化了一个对象。

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

参数

serializationManager
WorkflowMarkupSerializationManager

管理序列化过程的 WorkflowMarkupSerializationManager

obj
Object

已序列化的 Object

注解

OnAfterSerialize 方法在 Serialize 上运行并执行序列化后处理之后,立即调用 obj,主要用于设置 .xoml 文件中的代码和可扩展应用程序标记语言 (XAML) 的格式和缩进。

适用于