WorkflowEnvironment.WorkBatch Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient le lot de travail actuel.
public:
static property System::Workflow::Runtime::IWorkBatch ^ WorkBatch { System::Workflow::Runtime::IWorkBatch ^ get(); };
public static System.Workflow.Runtime.IWorkBatch WorkBatch { get; }
static member WorkBatch : System.Workflow.Runtime.IWorkBatch
Public Shared ReadOnly Property WorkBatch As IWorkBatch
Valeur de propriété
Qui IWorkBatch représente le lot de travail actuel.
Remarques
La WorkBatch propriété permet aux hôtes ou aux services hôtes de participer à la transaction actuelle en ajoutant des éléments de travail en attente au lot de travail actuel. Un hôte ou un service hôte qui souhaite participer à la transaction actuelle doit implémenter l’interface IPendingWork et l’utiliser IWorkBatch.Add pour ajouter des éléments de travail en attente à WorkBatch. Les services durables doivent ajouter des éléments pour WorkBatch maintenir l’état de leurs magasins de données cohérents avec l’état de l’instance de workflow. Les services durables prêtes à l’emploi et SqlTrackingServiceSqlWorkflowPersistenceServiceimplémentent ces fonctionnalités.