StatusingEventReceiver.OnAssignmentDeleting メソッド
UpdateStatusでは、リソースが割り当てを削除するときに、前のイベント ハンドラー。
名前空間: Microsoft.Office.Project.Server.Events
アセンブリ: Microsoft.Office.Project.Server.Events.Receivers (Microsoft.Office.Project.Server.Events.Receivers.dll 内)
構文
'宣言
Public Overridable Sub OnAssignmentDeleting ( _
contextInfo As PSContextInfo, _
e As StatusDeleteTaskPreEventArgs _
)
'使用
Dim instance As StatusingEventReceiver
Dim contextInfo As PSContextInfo
Dim e As StatusDeleteTaskPreEventArgs
instance.OnAssignmentDeleting(contextInfo, _
e)
public virtual void OnAssignmentDeleting(
PSContextInfo contextInfo,
StatusDeleteTaskPreEventArgs e
)
パラメーター
contextInfo
型: Microsoft.Office.Project.Server.Library.PSContextInfoProject Server のコンテキスト情報が含まれています。
注釈
OnAssignmentDeletingは、 UpdateStatusメソッドが呼び出され、 changeXMLパラメーターには、 AssnConstID.s_apid_removed_by_resプロパティ ID (PID) を含む場合に発生します。PID はProject Web App、によって、内部の使用をUpdateStatusの呼び出しでサード ・ パーティの使用はサポートされていません。ただし、 OnAssignmentDeletingのイベント ハンドラーを記述できます。
イベント ハンドラーの作成方法の詳細については、 How to: Create a Project Server Event Handler and Log an Eventを参照してください。
関連項目
参照先
Microsoft.Office.Project.Server.Events 名前空間
その他の技術情報
Supported Project Fields and Field Information for Statusing ChangeXML