PolicyFailureInfo Class

Contains information about a policy failure.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.PolicyFailureInfo

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

Syntax

'Declaration
Public NotInheritable Class PolicyFailureInfo
public sealed class PolicyFailureInfo
public ref class PolicyFailureInfo sealed
[<Sealed>]
type PolicyFailureInfo =  class end
public final class PolicyFailureInfo

The PolicyFailureInfo type exposes the following members.

Properties

  Name Description
Public property Message Gets a message that describes the policy failure.
Public property PolicyName Gets the name of the policy that failed.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Creates a user-readable string that describes the properties of this PolicyFailureInfo class. (Overrides Object.ToString().)

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.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace