共用方式為


CheckinEvaluationResult.PolicyEvaluationException Property

Gets the exception that occurred if policy evaluation threw an exception.

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

Syntax

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

Property Value

Type: System.Exception
The exception that occurred if policy evaluation threw an exception; otherwise, null.

.NET Framework Security

See Also

Reference

CheckinEvaluationResult Class

Microsoft.TeamFoundation.VersionControl.Client Namespace