Share 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
<ActivityValidatorAttribute(GetType(ImpersonationSequenceActivityCompositeActivityValidator))> _
<PersistOnCloseAttribute> _
Public Class ImpersonationSequenceActivity _
    Inherits SequenceActivity _
    Implements IActivityEventListener(Of ActivityExecutionStatusChangedEventArgs)
'Usage
Dim instance As ImpersonationSequenceActivity
[ActivityValidatorAttribute(typeof(ImpersonationSequenceActivityCompositeActivityValidator))]
[PersistOnCloseAttribute]
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