WorkflowRuntime.GetLoadedWorkflows Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient une collection qui contient toutes les instances de flux de travail actuellement chargées en mémoire.
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)
Retours
Objet WorkflowInstance pour chaque instance de workflow actuellement chargée en mémoire.
Exceptions
Il WorkflowRuntime est supprimé.
Remarques
Notez que, contrairement GetWorkflowà cette méthode, elle ne lève pas si InvalidOperationException le runtime n’est pas démarré.