SecurityEventReceiver.OnCategoryCreated - Méthode
Un gestionnaire d'événements postérieures à la méthode CreateCategories .
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 OnCategoryCreated ( _
contextInfo As PSContextInfo, _
e As CategoryCreatePostEventArgs _
)
'Utilisation
Dim instance As SecurityEventReceiver
Dim contextInfo As PSContextInfo
Dim e As CategoryCreatePostEventArgs
instance.OnCategoryCreated(contextInfo, _
e)
public virtual void OnCategoryCreated(
PSContextInfo contextInfo,
CategoryCreatePostEventArgs 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.CategoryCreatePostEventArgsLes données pour l'événement.
Remarques
Important
Le récepteur d'événements OnCategoryCreated n'est pas pris en charge dans le Mode d'autorisation SharePoint, qui est utilisé par Project Online et une valeur par défaut local installation de Project Server 2013. Pour plus d'informations, reportez-vous à la section Mode d'autorisation SharePoint dans l'article Nouveautés pour les professionnels de l'informatique dans Project Server 2013 sur TechNet.
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.