共用方式為


VersionControlServer.DeletedWorkspace Event

Raised when a Workspace is deleted.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Event DeletedWorkspace As WorkspaceEventHandler
public event WorkspaceEventHandler DeletedWorkspace
public:
 event WorkspaceEventHandler^ DeletedWorkspace {
    void add (WorkspaceEventHandler^ value);
    void remove (WorkspaceEventHandler^ value);
}
member DeletedWorkspace : IEvent<WorkspaceEventHandler,
    WorkspaceEventArgs>
JScript does not support events.

Remarks

This event can be raised by a cross-process notification if the NotificationManager has been initialized.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace