Condividi tramite


ActivityExecutionContextManager.CreateExecutionContext(Activity) Metodo

Definizione

Crea una classe ActivityExecutionContext per la classe Activity designata.

public:
 System::Workflow::ComponentModel::ActivityExecutionContext ^ CreateExecutionContext(System::Workflow::ComponentModel::Activity ^ activity);
public System.Workflow.ComponentModel.ActivityExecutionContext CreateExecutionContext (System.Workflow.ComponentModel.Activity activity);
member this.CreateExecutionContext : System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.ActivityExecutionContext
Public Function CreateExecutionContext (activity As Activity) As ActivityExecutionContext

Parametri

activity
Activity

La classe Activity designata.

Restituisce

ActivityExecutionContext

La classe ActivityExecutionContext creata per la classe Activity designata.

Eccezioni

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

activity non è un'attività figlio valida del proprietario di questo contesto.

Si applica a