SecurityEventReceiver.OnProjectCategoryCreating Method
A pre-event handler handler for the CreateProjectCategories(SecurityProjectCategoriesDataSet) method.
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 OnProjectCategoryCreating ( _
contextInfo As PSContextInfo, _
e As ProjectCategoryCreatePreEventArgs _
)
'Usage
Dim instance As SecurityEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ProjectCategoryCreatePreEventArgs
instance.OnProjectCategoryCreating(contextInfo, _
e)
public virtual void OnProjectCategoryCreating(
PSContextInfo contextInfo,
ProjectCategoryCreatePreEventArgs e
)
Parameters
- contextInfo
Type: Microsoft.Office.Project.Server.Library.PSContextInfo
Contains the Project Server context information.
- e
Type: Microsoft.Office.Project.Server.Events.ProjectCategoryCreatePreEventArgs
The data for the event.