Метод WssInteropEventReceiver.OnWssWorkspaceCreating
Обработчик события до операции для метода CreateWssSite .
Пространство имен: Microsoft.Office.Project.Server.Events
Сборка: Microsoft.Office.Project.Server.Events.Receivers (в Microsoft.Office.Project.Server.Events.Receivers.dll)
Синтаксис
'Декларация
Public Overridable Sub OnWssWorkspaceCreating ( _
contextInfo As PSContextInfo, _
e As WssWorkspaceCreatingEventArgs _
)
'Применение
Dim instance As WssInteropEventReceiver
Dim contextInfo As PSContextInfo
Dim e As WssWorkspaceCreatingEventArgs
instance.OnWssWorkspaceCreating(contextInfo, _
e)
public virtual void OnWssWorkspaceCreating(
PSContextInfo contextInfo,
WssWorkspaceCreatingEventArgs e
)
Параметры
contextInfo
Тип: Microsoft.Office.Project.Server.Library.PSContextInfoСодержит сведения о контексте Project Server.
e
Тип: Microsoft.Office.Project.Server.Events.WssWorkspaceCreatingEventArgsДанные для события.
Замечания
For information about creating an event handler, see How to: Create a Project Server Event Handler and Log an Event.