共用方式為


SetModerationStatusActivity Members

Include Protected Members
Include Inherited Members

Defines a workflow activity that is used to set the Content Approval status for 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 object that contains the properties that are associated with the active workflow instance.
Public property __ListId Gets or sets the identifier (ID) for the list on which the list item resides.
Public property __ListItem Gets or sets the ID of the item that is changed.
Public property Comments Gets or sets the comments used when the Content Approval status is changed.
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 of the Content Approval for the item in a list or document library.
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.)
Public method Equals (Inherited from Object.)
Protected method Execute Sets the Content Approval status for a list item. (Overrides Activity.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 (Inherited from Activity.)
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 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 Represents the DependencyProperty object that promotes the __Context property for use by the workflow runtime.
Public fieldStatic member __ListIdProperty Represents the DependencyProperty object that promotes the __ListId property for use by the workflow runtime.
Public fieldStatic member __ListItemProperty Represents the DependencyProperty object that promotes the __ListItem property for use by the workflow runtime.
Public fieldStatic member CommentsProperty Represents the DependencyProperty object that promotes the __Comments() property for use by the workflow runtime.
Public fieldStatic member ModerationStatusProperty Represents the DependencyProperty object that promotes the __ModerationStatus() property for use by the workflow runtime.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate event IComponent.Disposed (Inherited from DependencyObject.)

Top

See Also

Reference

SetModerationStatusActivity Class

Microsoft.SharePoint.WorkflowActions Namespace