ActivityDesignerLayoutSerializer.CreateInstance 方法

定義

使用指定的 Type 來建立指定之 WorkflowMarkupSerializationManager 的執行個體。

protected:
 override System::Object ^ CreateInstance(System::Workflow::ComponentModel::Serialization::WorkflowMarkupSerializationManager ^ serializationManager, Type ^ type);
protected override object CreateInstance (System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager serializationManager, Type type);
override this.CreateInstance : System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializationManager * Type -> obj
Protected Overrides Function CreateInstance (serializationManager As WorkflowMarkupSerializationManager, type As Type) As Object

參數

serializationManager
WorkflowMarkupSerializationManager

支援此作業的 WorkflowMarkupSerializationManager

type
Type

指定的 Type

傳回

Object

指定之 Type 的執行個體。

例外狀況

serializationManager 為 null 參考 (在 Visual Basic 中為 Nothing)。

-或-

type 為 null 參考 (Nothing)。

適用於