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
)

参数

备注

有关创建事件处理程序的信息,请参阅How to: Create a Project Server Event Handler and Log an Event

另请参阅

引用

ResourceEventReceiver 类

ResourceEventReceiver 成员

Microsoft.Office.Project.Server.Events 命名空间