Partager via


PolicyBase.OnPolicyStateChanged Method

Fire the event to notify of a change in policy state.

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

Syntax

'Declaration
Protected Overridable Sub OnPolicyStateChanged ( _
    failures As PolicyFailure() _
)
protected virtual void OnPolicyStateChanged(
    PolicyFailure[] failures
)
protected:
virtual void OnPolicyStateChanged(
    array<PolicyFailure^>^ failures
)
abstract OnPolicyStateChanged : 
        failures:PolicyFailure[] -> unit  
override OnPolicyStateChanged : 
        failures:PolicyFailure[] -> unit
protected function OnPolicyStateChanged(
    failures : PolicyFailure[]
)

Parameters

.NET Framework Security

See Also

Reference

PolicyBase Class

Microsoft.TeamFoundation.VersionControl.Client Namespace