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 內容資訊。
備註
如需建立事件處理常式的資訊,請參閱 < How to: Create a Project Server Event Handler and Log an Event。