Condividi tramite


WorkflowEnvironment Classe

Definizione

Attenzione

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Rappresenta l'ambiente transazionale dell'istanza del flusso di lavoro in esecuzione nel thread corrente.

public ref class WorkflowEnvironment abstract sealed
public static class WorkflowEnvironment
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public static class WorkflowEnvironment
type WorkflowEnvironment = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowEnvironment = class
Public Class WorkflowEnvironment
Ereditarietà
WorkflowEnvironment
Attributi

Commenti

Annotazioni

Questo materiale illustra i tipi e gli spazi dei nomi obsoleti. Per altre informazioni, vedere Tipi deprecati in Windows Workflow Foundation 4.5.

WorkflowEnvironment Rappresenta l'ambiente transazionale dell'istanza del flusso di lavoro in esecuzione nel thread corrente. WorkflowEnvironment ha due proprietà: la WorkBatch proprietà , che espone il batch di lavoro corrente e consente a un host o a un servizio host di partecipare alla transazione corrente aggiungendo IPendingWork elementi a questa proprietà e la WorkflowInstanceId proprietà , che espone l'oggetto Guid dell'istanza del flusso di lavoro attualmente in esecuzione su questo thread.

Proprietà

Nome Descrizione
WorkBatch
Obsoleti.

Ottiene il batch di lavoro corrente.

WorkflowInstanceId
Obsoleti.

Ottiene l'oggetto Guid dell'istanza del flusso di lavoro associata al thread corrente.

Si applica a