共用方式為


WssInteropEventReceiver.OnWssWorkspaceCreating Method

A pre-event handler for the CreateWssSite method.

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 OnWssWorkspaceCreating ( _
    contextInfo As PSContextInfo, _
    e As WssWorkspaceCreatingEventArgs _
)
'Usage
Dim instance As WssInteropEventReceiver
Dim contextInfo As PSContextInfo
Dim e As WssWorkspaceCreatingEventArgs

instance.OnWssWorkspaceCreating(contextInfo, _
    e)
public virtual void OnWssWorkspaceCreating(
    PSContextInfo contextInfo,
    WssWorkspaceCreatingEventArgs e
)

Parameters

Remarks

For information about creating an event handler, see How to: Create a Project Server Event Handler and Log an Event.

See Also

Reference

WssInteropEventReceiver Class

WssInteropEventReceiver Members

Microsoft.Office.Project.Server.Events Namespace