PolicyFailure.Policy Property

Gets the policy with which this failure is associated.

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

Syntax

声明
Public ReadOnly Property Policy As IPolicyEvaluation
    Get
public IPolicyEvaluation Policy { get; }
public:
property IPolicyEvaluation^ Policy {
    IPolicyEvaluation^ get ();
}
member Policy : IPolicyEvaluation
function get Policy () : IPolicyEvaluation

Property Value

Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyEvaluation
The policy with which this failure is associated.

Remarks

May be null if the policy failed to load.

.NET Framework Security

See Also

Reference

PolicyFailure Class

Microsoft.TeamFoundation.VersionControl.Client Namespace