共用方式為


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 檔案中的程式碼和 eXtensible Application Markup Language (XAML)。

適用於