S
still-new
Hello:
I am using PS2007 and testing event handler for the
OnWssWorkspaceCreated method.
Is it right that this is supposed to fire when a project workspace is
created? It does not fire when I create a site from PWA > Site Actions
Any ideas what the issue may be? I do not see any entry added in the
event viewer. I have tested a similar event handler for onPublished
method, which works fine, so I am assuming my compiling and
resgistration process is working fine.
Any help will be appreciated!
--------------------------------
public class PWSEventHandler : WssInteropEventReceiver
{
public override void OnWssWorkspaceCreated(PSContextInfo
contextInfo, WssWorkspaceCreatedEventArgs e)
{
EventLog myLog = new EventLog();
myLog.Source = "Test Event Handler";
myLog.WriteEntry("testing", EventLogEntryType.Information,
3651);
}
}
I am using PS2007 and testing event handler for the
OnWssWorkspaceCreated method.
Is it right that this is supposed to fire when a project workspace is
created? It does not fire when I create a site from PWA > Site Actions
Project workspace - click OK.Create > Sites and Workspaces > select template Microsoft Office
Any ideas what the issue may be? I do not see any entry added in the
event viewer. I have tested a similar event handler for onPublished
method, which works fine, so I am assuming my compiling and
resgistration process is working fine.
Any help will be appreciated!
--------------------------------
public class PWSEventHandler : WssInteropEventReceiver
{
public override void OnWssWorkspaceCreated(PSContextInfo
contextInfo, WssWorkspaceCreatedEventArgs e)
{
EventLog myLog = new EventLog();
myLog.Source = "Test Event Handler";
myLog.WriteEntry("testing", EventLogEntryType.Information,
3651);
}
}