共用方式為


VersionControlServer.BranchObjectCreated Event

This event is fired when a BranchObject is created.

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

Syntax

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

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace