共用方式為


PolicyStateChangedEventArgs.Failures Property

Gets the array of failures that resulted from the policy evaluation.

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

Syntax

'Declaration
Public ReadOnly Property Failures As PolicyFailure()
public PolicyFailure[] Failures { get; }
public:
property array<PolicyFailure^>^ Failures {
    array<PolicyFailure^>^ get ();
}
member Failures : PolicyFailure[] with get
function get Failures () : PolicyFailure[]

Property Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.PolicyFailure[]
The array of failures that resulted from the policy evaluation.

.NET Framework Security

See Also

Reference

PolicyStateChangedEventArgs Class

Microsoft.TeamFoundation.VersionControl.Client Namespace