Edit

Share via


WorkflowRuntime.GetLoadedWorkflows Method

Definition

Gets a collection that contains all the workflow instances currently loaded in memory.

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)

Returns

A WorkflowInstance object for each workflow instance currently loaded in memory.

Exceptions

Remarks

Note that, unlike GetWorkflow, this method does not throw a InvalidOperationException if the runtime is not started.

Applies to