共用方式為


WorkflowEventReceiver.OnProjectTypeChanging 方法

UpdateEnterpriseProjectType(WorkflowDataSet)方法前的事件處理常式。

命名空間:  Microsoft.Office.Project.Server.Events
組件:  Microsoft.Office.Project.Server.Events.Receivers (在 Microsoft.Office.Project.Server.Events.Receivers.dll 中)

語法

'宣告
Public Overridable Sub OnProjectTypeChanging ( _
    contextInfo As PSContextInfo, _
    e As ProjectTypeChangingEventArgs _
)
'用途
Dim instance As WorkflowEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ProjectTypeChangingEventArgs

instance.OnProjectTypeChanging(contextInfo, _
    e)
public virtual void OnProjectTypeChanging(
    PSContextInfo contextInfo,
    ProjectTypeChangingEventArgs e
)

參數

請參閱

參照

WorkflowEventReceiver 類別

WorkflowEventReceiver 成員

Microsoft.Office.Project.Server.Events 命名空間