StatusingEventReceiver.OnHistoryDeleting - Méthode
Un gestionnaire d'événements préalables à la méthode DeleteStatusApprovalHistories .
Espace de noms : Microsoft.Office.Project.Server.Events
Assembly : Microsoft.Office.Project.Server.Events.Receivers (dans Microsoft.Office.Project.Server.Events.Receivers.dll)
Syntaxe
'Déclaration
Public Overridable Sub OnHistoryDeleting ( _
contextInfo As PSContextInfo, _
e As StatusDeleteHistoryPreEventArgs _
)
'Utilisation
Dim instance As StatusingEventReceiver
Dim contextInfo As PSContextInfo
Dim e As StatusDeleteHistoryPreEventArgs
instance.OnHistoryDeleting(contextInfo, _
e)
public virtual void OnHistoryDeleting(
PSContextInfo contextInfo,
StatusDeleteHistoryPreEventArgs e
)
Paramètres
contextInfo
Type : Microsoft.Office.Project.Server.Library.PSContextInfoContient les informations de contexte de Project Server.
e
Type : Microsoft.Office.Project.Server.Events.StatusDeleteHistoryPreEventArgsLes données pour l'événement.
Remarques
Pour plus d'informations sur la création d'un gestionnaire d'événements, voir How to: Create a Project Server Event Handler and Log an Event.