共用方式為


PolicyList.PolicyStateChanged Event

An event that occurs when the policy failure list is updated asynchronously. It does not occur when the Evaluate method is called.

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

Syntax

'宣告
Public Event PolicyStateChanged As PolicyStateChangedHandler
public event PolicyStateChangedHandler PolicyStateChanged
public:
 event PolicyStateChangedHandler^ PolicyStateChanged {
    void add (PolicyStateChangedHandler^ value);
    void remove (PolicyStateChangedHandler^ value);
}
member PolicyStateChanged : IEvent<PolicyStateChangedHandler,
    PolicyStateChangedEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

PolicyList Class

Microsoft.TeamFoundation.VersionControl.Client Namespace