Share via


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

Remarks

Important

The OnProjectCategoryCreating event receiver is not supported in the SharePoint Permission Mode, which is used by Project Online and a default on-premises installation of Project Server 2013. For more information, see SharePoint Permission Mode in the What's new for IT pros in Project Server 2013 article on TechNet.

See also

Reference

SecurityEventReceiver class

SecurityEventReceiver members

Microsoft.Office.Project.Server.Events namespace