Megosztás a következőn keresztül:


PolicyStateChangedEventArgs.Policy Property

Gets the policy that was evaluated, which results in the associated array of failures.

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

Syntax

'Declaration
Public ReadOnly Property Policy As IPolicyEvaluation
public IPolicyEvaluation Policy { get; }
public:
property IPolicyEvaluation^ Policy {
    IPolicyEvaluation^ get ();
}
member Policy : IPolicyEvaluation with get
function get Policy () : IPolicyEvaluation

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyEvaluation
The policy that was evaluated, which results in the associated array of failures.

.NET Framework Security

See Also

Reference

PolicyStateChangedEventArgs Class

Microsoft.TeamFoundation.VersionControl.Client Namespace