WorkflowEnvironment.WorkBatch Propriété

Définition

Obtient le travail en traitement par lots actuel.

public:
 static property System::Workflow::Runtime::IWorkBatch ^ WorkBatch { System::Workflow::Runtime::IWorkBatch ^ get(); };
public static System.Workflow.Runtime.IWorkBatch WorkBatch { get; }
member this.WorkBatch : System.Workflow.Runtime.IWorkBatch
Public Shared ReadOnly Property WorkBatch As IWorkBatch

Valeur de propriété

IWorkBatch

IWorkBatch représentant le travail en traitement par lots actuel.

Remarques

La propriété WorkBatch permet aux hôtes ou aux services hôtes de participer à la transaction actuelle en ajoutant des éléments de travail en attente au travail en traitement par lots actuel. Un hôte ou un service hôte qui souhaite participer à la transaction actuelle doit implémenter l’interface IPendingWork et utiliser IWorkBatch.Add pour ajouter des éléments de travail en attente à WorkBatch. Les services fiables doivent ajouter des éléments à WorkBatch pour garder l'état de leurs magasins de contenu cohérent avec l'état de l'instance de workflow. Les services fiables non fournis, SqlTrackingService et SqlWorkflowPersistenceService, implémentent ces fonctionnalités.

S’applique à