Compartir a través de


ActivityExecutionContextManager.CreateExecutionContext(Activity) Método

Definición

Crea un ActivityExecutionContext para el Activity designado.

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

Parámetros

activity
Activity

El Activitydesignado.

Devoluciones

El ActivityExecutionContext creado para el Activitydesignado.

Excepciones

activity es una referencia nula (Nothing en Visual Basic).

activity no es una actividad secundaria válida del propietario de este contexto.

Se aplica a