共用方式為


OnProjectSubmit Class

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

Inheritance Hierarchy

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

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

Syntax

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

Remarks

The Workflow Designer pane and the Properties pane in Microsoft Visual Studio 2010 enable you to get and set properties in fields for the OnProjectSubmit 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

OnProjectSubmit Members

Microsoft.Office.Project.Server.Workflow Namespace