WorkflowRuntime.GetLoadedWorkflows Metodo

Definizione

Ottiene una raccolta che contiene tutte le istanze del flusso di lavoro attualmente caricate in memoria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::Runtime::WorkflowInstance ^> ^ GetLoadedWorkflows();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.Runtime.WorkflowInstance> GetLoadedWorkflows();
member this.GetLoadedWorkflows : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.Runtime.WorkflowInstance>
Public Function GetLoadedWorkflows () As ReadOnlyCollection(Of WorkflowInstance)

Valori restituiti

Oggetto WorkflowInstance per ogni istanza del flusso di lavoro attualmente caricata in memoria.

Eccezioni

L'oggetto WorkflowRuntime viene eliminato.

Commenti

Si noti che, a differenza GetWorkflowdi , questo metodo non genera un'eccezione InvalidOperationException se il runtime non viene avviato.

Si applica a