IDesktopUserActions.GetCurrentWorkflowState Method

Retrieves the current workflow state, if any. If no workflow is running, returns null.

Namespace: Microsoft.Uii.Desktop.Core
Assembly: Microsoft.Uii.Desktop.Core (in Microsoft.Uii.Desktop.Core.dll)

Usage

'Usage
Dim instance As IDesktopUserActions
Dim returnValue As WorkflowData

returnValue = instance.GetCurrentWorkflowState

Syntax

'Declaration
Function GetCurrentWorkflowState As WorkflowData
WorkflowData GetCurrentWorkflowState ()
WorkflowData^ GetCurrentWorkflowState ()
WorkflowData GetCurrentWorkflowState ()
function GetCurrentWorkflowState () : WorkflowData

Return Value

Running Workflow State or Null

Remarks

If more than one IWorkFlow HostedControl is registered, this will return only the last control in the list.

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.

Platforms

See Also

Reference

IDesktopUserActions Interface
IDesktopUserActions Members
Microsoft.Uii.Desktop.Core Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.