共用方式為


IBuildDetail.StatusChanged Event

Raised when any change in the build is discovered on the server.

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

Syntax

'Declaration
Event StatusChanged As StatusChangedEventHandler
event StatusChangedEventHandler StatusChanged
event StatusChangedEventHandler^ StatusChanged {
    void add (StatusChangedEventHandler^ value);
    void remove (StatusChangedEventHandler^ value);
}
abstract StatusChanged : IEvent<StatusChangedEventHandler,
    StatusChangedEventArgs>
JScript does not support events.

Remarks

To receive these events you must call the Connect method. This causes the server to be polled regularly until the build is finished. This event is fired just before the build is updated.

.NET Framework Security

See Also

Reference

IBuildDetail Interface

Microsoft.TeamFoundation.Build.Client Namespace