Compartir a través de


ProjectEventReceiver.OnSaveFailed Method

A post-event handler occurs when an attempt to save a project to the Draft database fails.

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

Syntax

'Declaration
Public Overridable Sub OnSaveFailed ( _
    contextInfo As PSContextInfo, _
    e As ProjectPostEventArgs _
)
'Usage
Dim instance As ProjectEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ProjectPostEventArgs

instance.OnSaveFailed(contextInfo, e)
public virtual void OnSaveFailed(
    PSContextInfo contextInfo,
    ProjectPostEventArgs e
)

Parameters

Remarks

The SaveFailed event occurs when Microsoft Office Project Professional or any of the Project methods (CreateProjectFromTemplate, QueueAddToProject, QueueCreateProject, and so forth) fails to save to the Draft database.

For information about creating an event handler, see How to: Create a Project Server Event Handler and Log an Event.

See Also

Reference

ProjectEventReceiver Class

ProjectEventReceiver Members

Microsoft.Office.Project.Server.Events Namespace