SqlWorkflowPersistenceService.LoadCompletedContextActivity(Guid, Activity) Metodo

Definizione

Recupera l'ambito completato specificato dal database.Retrieves the specified completed scope from the database.

protected public:
 override System::Workflow::ComponentModel::Activity ^ LoadCompletedContextActivity(Guid id, System::Workflow::ComponentModel::Activity ^ outerActivity);
protected internal override System.Workflow.ComponentModel.Activity LoadCompletedContextActivity (Guid id, System.Workflow.ComponentModel.Activity outerActivity);
override this.LoadCompletedContextActivity : Guid * System.Workflow.ComponentModel.Activity -> System.Workflow.ComponentModel.Activity
Protected Friend Overrides Function LoadCompletedContextActivity (id As Guid, outerActivity As Activity) As Activity

Parametri

id
Guid

Guid dell'attività di ambiti.The Guid of the scope activity.

outerActivity
Activity

Classe Activity che racchiude l'attività di ambiti.The Activity that encloses the scope activity.

Restituisce

Activity

Classe Activity che rappresenta l'ambito compilato.An Activity that represents the completed scope.

Eccezioni

Impossibile trovare nel database un ambito che corrisponde a id.A scope that matches id could not be found in the database.

Commenti

Il motore di runtime del flusso di lavoro utilizza LoadCompletedContextActivity durante la compensazione.The workflow run-time engine uses LoadCompletedContextActivity during compensation. Il metodo LoadCompletedContextActivity deve essere chiamato solo dal motore di runtime del flusso di lavoro.LoadCompletedContextActivity should only be called by the workflow run-time engine.

Si applica a