Share via


OnProjectCommit Class

The workflow activity that waits for the PSWorkflowService.OnProjectCommit event, which occurs when the associated project is committed, before continuing the workflow.

Inheritance Hierarchy

System.Object
  System.Workflow.ComponentModel.DependencyObject
    System.Workflow.ComponentModel.Activity
      Microsoft.Office.Project.Server.Workflow.OnProjectCommit

Namespace:  Microsoft.Office.Project.Server.Workflow
Assembly:  Microsoft.Office.Project.Server.Workflow (in Microsoft.Office.Project.Server.Workflow.dll)

Syntax

'Declaration
<ToolboxBitmapAttribute(GetType(OnProjectCommit), "Resources.OnProjectCommit.bmp")> _
<PersistOnCloseAttribute> _
Public NotInheritable Class OnProjectCommit _
    Inherits Activity _
    Implements IActivityEventListener(Of QueueEventArgs), IEventActivity
'Usage
Dim instance As OnProjectCommit
[ToolboxBitmapAttribute(typeof(OnProjectCommit), "Resources.OnProjectCommit.bmp")]
[PersistOnCloseAttribute]
public sealed class OnProjectCommit : Activity, 
    IActivityEventListener<QueueEventArgs>, IEventActivity

Remarks

In Microsoft Visual Studio 2010, the Workflow Designer pane and the Properties pane enable you to get and set properties in fields for the OnProjectCommit activity.

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

OnProjectCommit Members

Microsoft.Office.Project.Server.Workflow Namespace

OnProjectCommit