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
failures
Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure[]The failures of the policy.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.