PolicyFailureInfo Class
The PolicyFailureInfo is the information that is used to describe a policy failure that was overriden during a checkin. There may be one or more with any given changeset.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.VersionControl.Server.PolicyFailureInfo
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
Public Class PolicyFailureInfo
[ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)]
public class PolicyFailureInfo
[ClassVisibilityAttribute(ClientVisibility::Public, ClientVisibility::Private)]
public ref class PolicyFailureInfo
[<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)>]
type PolicyFailureInfo = class end
public class PolicyFailureInfo
The PolicyFailureInfo type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PolicyFailureInfo |
Top
Properties
Name | Description | |
---|---|---|
Message | Message about the failure for this policy. | |
PolicyName | Name of the policy that failed for this changeset. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.