共用方式為


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

'宣告
Public ReadOnly Property Failures As PolicyFailure()
    Get
public PolicyFailure[] Failures { get; }
public:
property array<PolicyFailure^>^ Failures {
    array<PolicyFailure^>^ get ();
}
member Failures : PolicyFailure[]
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