SetModerationStatusActivity members

Defines a workflow activity that is used to set the moderation status of a list item.

The SetModerationStatusActivity type exposes the following members.

Constructors

  Name Description
Public method SetModerationStatusActivity Initializes a new instance of the SetModerationStatusActivity class.

Top

Properties

  Name Description
Public property __Context Gets or sets the [WorkflowContext] from which the __ContextProperty property can expose information about the active workflow instance to the workflow runtime.
Public property __ListId The ID of the SharePoint Foundation 2010 list on which the item resides.
Public property __ListItem The specified SharePoint Foundation 2010 list item on the designated list.
Public property Comments Gets or sets a value for the comments field for the SharePoint Foundation 2010 list item on the designated list.
Public property Description (Inherited from Activity.)
Protected property DesignMode (Inherited from DependencyObject.)
Public property Enabled (Inherited from Activity.)
Public property ExecutionResult (Inherited from Activity.)
Public property ExecutionStatus (Inherited from Activity.)
Public property IsDynamicActivity (Inherited from Activity.)
Public property ModerationStatus Gets or sets the moderation status for the specified SharePoint Foundation 2010 list item.
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 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 Cancel (Inherited from Activity.)
Public method Clone (Inherited from Activity.)
Public method Dispose() (Inherited from DependencyObject.)
Protected method Dispose(Boolean) (Inherited from DependencyObject.)
Protected method DoUpdate Performs the update to the specified list item moderation status. (Overrides WaitForDocumentUnlockActivity.DoUpdate(ActivityExecutionContext).)
Public method Equals (Inherited from Object.)
Protected method Execute Sets the moderation status of a list item. (Overrides WaitForDocumentUnlockActivity.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.)
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 (Inherited from Activity.)
Protected method Initialize(IServiceProvider) (Inherited from Activity.)
Public method Initialize(WorkflowContext, Guid, SPItemKey) Initializes the values of the WaitForDocumentUnlockActivity object. (Inherited from WaitForDocumentUnlockActivity.)
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 IsDocumentLocked Checks if the specified document library item is locked or checked out. (Overrides WaitForDocumentUnlockActivity.IsDocumentLocked(SPFile, SPUser).)
Protected method MemberwiseClone (Inherited from Object.)
Public method MetaEquals (Inherited from DependencyObject.)
Protected method OnActivityExecutionContextLoad (Inherited from Activity.)
Protected method OnActivityExecutionContextUnload (Inherited from Activity.)
Protected method OnClosed (Inherited from Activity.)
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 Activity.)
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 The DependencyProperty object that promotes the __Context property for use by the workflow runtime.
Public fieldStatic member __ListIdProperty The DependencyProperty object that promotes the ListId() property for use by the workflow runtime.
Public fieldStatic member __ListItemProperty The DependencyProperty object that promotes the ListItem() property for use by the workflow runtime.
Public fieldStatic member CommentsProperty The DependencyProperty object that promotes the Comments property for use by the workflow runtime.
Public fieldStatic member ModerationStatusProperty The DependencyProperty object that promotes the ModerationStatus property for use by the workflow runtime.

Top

Explicit interface implementations

  Name Description
Explicit interface implemetationPrivate method IActivityEventListener<QueueEventArgs>.OnEvent Called when the event to which this WaitForDocumentUnlockActivity instance is subscribed occurs. (Inherited from WaitForDocumentUnlockActivity.)
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)

Top

See also

Reference

SetModerationStatusActivity class

Microsoft.SharePoint.WorkflowActions.WithKey namespace