Condividi tramite


ActivityDesignerLayoutSerializer.CreateInstance Metodo

Definizione

Crea un'istanza della classe Type indicata utilizzando l'elemento WorkflowMarkupSerializationManager specificato.

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

Parametri

serializationManager
WorkflowMarkupSerializationManager

Elemento WorkflowMarkupSerializationManager che supporta questa operazione.

type
Type

Classe Type specificata.

Restituisce

Object

Istanza della classe Type specificata.

Eccezioni

serializationManager è un riferimento null (Nothing in Visual Basic).

-oppure-

type è un riferimento null (Nothing).

Si applica a