WorkflowInstanceManager Class

Manages retrieval, starting and stopping of the workflow instances.

Inheritance Hierarchy

System.Object
  Microsoft.Workflow.Client.WorkflowInstanceManager

Namespace:  Microsoft.Workflow.Client
Assembly:  Microsoft.Workflow.Client (in Microsoft.Workflow.Client.dll)

Syntax

'Declaration
Public Class WorkflowInstanceManager
'Usage
Dim instance As WorkflowInstanceManager
public class WorkflowInstanceManager
public ref class WorkflowInstanceManager
type WorkflowInstanceManager =  class end
public class WorkflowInstanceManager

The WorkflowInstanceManager type exposes the following members.

Constructors

  Name Description
Public method WorkflowInstanceManager(Uri) Initializes a new instance of the WorkflowInstanceManager class.
Public method WorkflowInstanceManager(Uri, ClientSettings) Initializes a new instance of the WorkflowInstanceManager class.
Public method WorkflowInstanceManager(Uri, ClientSettings, WorkflowNotificationPublisher) Initializes a new instance of the WorkflowInstanceManager class.

Top

Methods

  Name Description
Public method CancelInstance Cancels the specified workflow instance.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetInstance Retrieves information about a specific workflow instance.
Public method GetInstanceCount() Retrieves the number of all workflow instances in this scope.
Public method GetInstanceCount(String) Retrieves the number of workflow instances with the specified workflow name.
Public method GetInstanceCount(WorkflowInstanceStatus, array<String[]) Retrieves the number of all workflow instances that have a specific status.
Public method GetInstanceCount(String, WorkflowInstanceStatus, array<String[]) Retrieves the number of all workflow instances of a specific workflow that have a specific status and match specified activation metadata filter.
Public method GetInstances() Returns all the collection of workflow instances.
Public method GetInstances(Int32, Int32) Returns the collection of workflow instances with specified number to skip and count to retrieve.
Public method GetInstances(Int32, Int32, String) Returns the collection of workflow instances with specified skip value, count, and workflow name.
Public method GetInstances(Int32, Int32, WorkflowInstanceStatus, array<String[]) Returns the collection of workflow instances with specified skip value, count, workflow status and activation metadata filter.
Public method GetInstances(Int32, Int32, String, WorkflowInstanceStatus, array<String[]) Returns the collection of workflow instances with specified skip value, count, workflow status, workflow name and activation metadata filter.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method PublishNotification(WorkflowNotification, array<String[]) Publishes an asynchronous event using a system request context with the specified WorkflowNotification and activation metadata.
Public method PublishNotification(WorkflowNotification, Nullable<Int64>, array<String[]) Publishes an asynchronous event using a system request context with the specified WorkflowNotification.
Public method StartWorkflow Starts specified workflow instance.
Public method TerminateInstance Terminates specified workflow instance.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Workflow.Client Namespace