共用方式為


VersionControlServer.BeforeDeleteWorkspace Event

Raised before deleting an existing Workspace.

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

Syntax

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

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace