Udostępnij za pośrednictwem


WorkflowData.SetPendingWorkflowData Method (String, Boolean)

Sets the pending workflow.

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

Usage

'Usage
Dim instance As WorkflowData
Dim pendingWorkflowData As String
Dim showError As Boolean
Dim returnValue As Boolean

returnValue = instance.SetPendingWorkflowData(pendingWorkflowData, showError)

Syntax

'Declaration
Public Function SetPendingWorkflowData ( _
    pendingWorkflowData As String, _
    showError As Boolean _
) As Boolean
public bool SetPendingWorkflowData (
    string pendingWorkflowData,
    bool showError
)
public:
bool SetPendingWorkflowData (
    String^ pendingWorkflowData, 
    bool showError
)
public boolean SetPendingWorkflowData (
    String pendingWorkflowData, 
    boolean showError
)
public function SetPendingWorkflowData (
    pendingWorkflowData : String, 
    showError : boolean
) : boolean

Parameters

  • pendingWorkflowData
    Specifies the pending workflow xml
  • showError
    True if errors are to be displayed, otherwise false.

Return Value

Type: Boolean
True if the workflow is set, otherwise false.

Remarks

This function used to be in in the Microsoft.Uii.Samples.HostedControlInterfaces as part of WorkflowData class. In the WfWorkflowControl this has been refactored out and replaced with a Serialization function.

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

WorkflowData Class
WorkflowData Members
Microsoft.Uii.Desktop.Core Namespace

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