ResourceEventReceiver.OnSettingAuthorization-Methode
Ein Pre-Event Handler für die SetResourceAuthorization -Methode.
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 OnSettingAuthorization ( _
contextInfo As PSContextInfo, _
e As ResourceAuthorizationPreEventArgs _
)
'Usage
Dim instance As ResourceEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ResourceAuthorizationPreEventArgs
instance.OnSettingAuthorization(contextInfo, _
e)
public virtual void OnSettingAuthorization(
PSContextInfo contextInfo,
ResourceAuthorizationPreEventArgs e
)
Parameter
contextInfo
Typ: Microsoft.Office.Project.Server.Library.PSContextInfoDie Project Server-Kontextinformationen enthält.
e
Typ: Microsoft.Office.Project.Server.Events.ResourceAuthorizationPreEventArgsDie Daten für das Ereignis.
Hinweise
Informationen zum Erstellen eines Ereignishandlers finden Sie unter How to: Create a Project Server Event Handler and Log an Event.