Partilhar via


ImpersonationSequenceActivity Class

Defines a workflow activity that is used to run a workflow instance in the context of a specified user role.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      System.Workflow.ComponentModel.CompositeActivity
        System.Workflow.Activities.SequenceActivity
          Microsoft.SharePoint.WorkflowActions.ImpersonationSequenceActivity

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
<PersistOnCloseAttribute> _
<ActivityValidatorAttribute(GetType(ImpersonationSequenceActivityCompositeActivityValidator))> _
Public Class ImpersonationSequenceActivity _
    Inherits SequenceActivity _
    Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
'Usage
Dim instance As ImpersonationSequenceActivity
[PersistOnCloseAttribute]
[ActivityValidatorAttribute(typeof(ImpersonationSequenceActivityCompositeActivityValidator))]
public class ImpersonationSequenceActivity : SequenceActivity, 
    IActivityEventListener<ActivityExecutionStatusChangedEventArgs>

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

ImpersonationSequenceActivity Members

Microsoft.SharePoint.WorkflowActions Namespace