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 sul 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

Nota

In questo materiale vengono descritti tipi e spazi dei nomi obsoleti. Per altre informazioni, vedere Deprecated Types in Windows Workflow Foundation 4.5 (Tipi deprecati in Windows Workflow Foundation 4.5).

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

Proprietà

WorkBatch
Obsoleti.

Ottiene il batch di lavoro corrente.

WorkflowInstanceId
Obsoleti.

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

Si applica a