共用方式為


WorkflowFeatureReceiver Class

Provides overrides of feature event handlers in the SPFeatureReceiver base class. Project Server 2010 workflows do not add any functionality to the SharePoint event handlers.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPFeatureReceiver
    Microsoft.Office.Project.Server.Workflow.WorkflowFeatureReceiver

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class WorkflowFeatureReceiver _
    Inherits SPFeatureReceiver
'Usage
Dim instance As WorkflowFeatureReceiver
[CLSCompliantAttribute(false)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class WorkflowFeatureReceiver : SPFeatureReceiver

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

WorkflowFeatureReceiver Members

Microsoft.Office.Project.Server.Workflow Namespace