WorkflowRuntime.GetLoadedWorkflows Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The WorkflowRuntime is disposed.
Remarks
Note that, unlike GetWorkflow, this method does not throw a InvalidOperationException if the runtime is not started.