ImpersonationSequenceActivity Members

Include Protected Members
Include Inherited Members

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

The ImpersonationSequenceActivity type exposes the following members.

Constructors

  Name Description
Public method ImpersonationSequenceActivity() Initializes a new instance of the ImpersonationSequenceActivity class.
Public method ImpersonationSequenceActivity(String) Initializes a new instance of the ImpersonationSequenceActivity class with the specified name.

Top

Properties

  Name Description
Public property __Context Gets or sets the WorkflowContext object that contains the properties associated with the workflow instance.
Public property Activities (Inherited from CompositeActivity.)
Protected property CanModifyActivities (Inherited from CompositeActivity.)
Public property Description (Inherited from Activity.)
Protected property DesignMode (Inherited from DependencyObject.)
Public property Enabled (Inherited from Activity.)
Public property EnabledActivities (Inherited from CompositeActivity.)
Public property ExecutionResult (Inherited from Activity.)
Public property ExecutionStatus (Inherited from Activity.)
Public property IsDynamicActivity (Inherited from Activity.)
Public property Name (Inherited from Activity.)
Public property Parent (Inherited from Activity.)
Protected property ParentDependencyObject (Inherited from DependencyObject.)
Public property QualifiedName (Inherited from Activity.)
Public property RunAs Gets or sets the user role that the workflow host uses for interactions with the current SPWeb.
Public property Site (Inherited from DependencyObject.)
Public property UserData (Inherited from DependencyObject.)
Protected property WorkflowInstanceId (Inherited from Activity.)

Top

Methods

  Name Description
Public method AddHandler (Inherited from DependencyObject.)
Protected method ApplyWorkflowChanges (Inherited from CompositeActivity.)
Protected method Cancel Cancels the activity. (Overrides SequenceActivity.Cancel(ActivityExecutionContext).)
Public method Clone (Inherited from Activity.)
Public method Dispose() (Inherited from DependencyObject.)
Protected method Dispose(Boolean) (Inherited from CompositeActivity.)
Public method Equals (Inherited from Object.)
Protected method Execute Runs a workflow instance in the context of a specified user role. (Overrides SequenceActivity.Execute(ActivityExecutionContext).)
Protected method Finalize (Inherited from DependencyObject.)
Public method GetActivityByName(String) (Inherited from Activity.)
Public method GetActivityByName(String, Boolean) (Inherited from Activity.)
Public method GetBinding (Inherited from DependencyObject.)
Protected method GetBoundValue (Inherited from DependencyObject.)
Protected method GetDynamicActivities (Inherited from CompositeActivity.)
Public method GetHashCode (Inherited from Object.)
Protected method GetInvocationList<T> (Inherited from DependencyObject.)
Public method GetType (Inherited from Object.)
Public method GetValue (Inherited from DependencyObject.)
Public method GetValueBase (Inherited from DependencyObject.)
Protected method HandleFault The method that is called by the workflow runtime when an Exception is raised when executing the workflow instance. (Overrides SequenceActivity.HandleFault(ActivityExecutionContext, Exception).)
Protected method Initialize (Inherited from CompositeActivity.)
Protected method InitializeProperties (Inherited from DependencyObject.)
Protected method Invoke<T>(EventHandler<T>, T) (Inherited from Activity.)
Protected method Invoke<T>(IActivityEventListener<T>, T) (Inherited from Activity.)
Public method IsBindingSet (Inherited from DependencyObject.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MetaEquals (Inherited from DependencyObject.)
Protected method OnActivityChangeAdd (Inherited from CompositeActivity.)
Protected method OnActivityChangeRemove The method that is called by the workflow runtime when a child activity of the ImpersonationSequenceActivity is removed. (Overrides SequenceActivity.OnActivityChangeRemove(ActivityExecutionContext, Activity).)
Protected method OnActivityExecutionContextLoad The method that is called by the workflow runtime when the ActivityExecutionContext for this activity is loaded. (Overrides CompositeActivity.OnActivityExecutionContextLoad(IServiceProvider).)
Protected method OnActivityExecutionContextUnload (Inherited from CompositeActivity.)
Protected method OnClosed (Inherited from Activity.)
Protected method OnListChanged (Inherited from CompositeActivity.)
Protected method OnListChanging (Inherited from CompositeActivity.)
Protected method OnSequenceComplete The method that is called by the workflow runtime when this activity has completed execution. (Overrides SequenceActivity.OnSequenceComplete(ActivityExecutionContext).)
Protected method OnWorkflowChangesCompleted The method that is called by the workflow runtime after changes have been made to the collection activities of the ImpersonationSequenceActivity. (Overrides SequenceActivity.OnWorkflowChangesCompleted(ActivityExecutionContext).)
Protected method RaiseEvent (Inherited from Activity.)
Protected method RaiseGenericEvent<T> (Inherited from Activity.)
Public method RegisterForStatusChange (Inherited from Activity.)
Public method RemoveHandler (Inherited from DependencyObject.)
Public method RemoveProperty (Inherited from DependencyObject.)
Public method Save(Stream) (Inherited from Activity.)
Public method Save(Stream, IFormatter) (Inherited from Activity.)
Public method SetBinding (Inherited from DependencyObject.)
Protected method SetBoundValue (Inherited from DependencyObject.)
Protected method SetReadOnlyPropertyValue (Inherited from DependencyObject.)
Public method SetValue (Inherited from DependencyObject.)
Public method SetValueBase (Inherited from DependencyObject.)
Public method ToString (Inherited from Activity.)
Protected method TrackData(Object) (Inherited from Activity.)
Protected method TrackData(String, Object) (Inherited from Activity.)
Protected method Uninitialize (Inherited from CompositeActivity.)
Public method UnregisterForStatusChange (Inherited from Activity.)

Top

Events

  Name Description
Public event Canceling (Inherited from Activity.)
Public event Closed (Inherited from Activity.)
Public event Compensating (Inherited from Activity.)
Public event Executing (Inherited from Activity.)
Public event Faulting (Inherited from Activity.)
Public event StatusChanged (Inherited from Activity.)

Top

Fields

  Name Description
Public fieldStatic member __ContextProperty Represents the DependencyProperty that promotes the __Context property for use by the workflow runtime.
Public fieldStatic member RunAsProperty Represents the DependencyProperty that promotes the RunAs property for use by the workflow runtime.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IActivityEventListener<ActivityExecutionStatusChangedEventArgs>.OnEvent Defines the process procedure when the subscribe-to event occurs.
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)

Top

See Also

Reference

ImpersonationSequenceActivity Class

Microsoft.SharePoint.WorkflowActions Namespace