ResourceEventReceiver.OnSettingAuthorization 方法
前期事件处理程序的SetResourceAuthorization方法。
命名空间: Microsoft.Office.Project.Server.Events
程序集: Microsoft.Office.Project.Server.Events.Receivers(位于 Microsoft.Office.Project.Server.Events.Receivers.dll 中)
语法
声明
Public Overridable Sub OnSettingAuthorization ( _
contextInfo As PSContextInfo, _
e As ResourceAuthorizationPreEventArgs _
)
用法
Dim instance As ResourceEventReceiver
Dim contextInfo As PSContextInfo
Dim e As ResourceAuthorizationPreEventArgs
instance.OnSettingAuthorization(contextInfo, _
e)
public virtual void OnSettingAuthorization(
PSContextInfo contextInfo,
ResourceAuthorizationPreEventArgs e
)
参数
contextInfo
类型:Microsoft.Office.Project.Server.Library.PSContextInfo包含项目的服务器的上下文信息。
备注
有关创建事件处理程序的信息,请参阅How to: Create a Project Server Event Handler and Log an Event。