This documentation is archived and is not being maintained.

PolicyStateChangedEventArgs Class

The policy and list of failures that are associated with a PolicyStateChanged event.


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

public class PolicyStateChangedEventArgs : EventArgs

The PolicyStateChangedEventArgs type exposes the following members.

Public methodPolicyStateChangedEventArgsInitializes the event arguments.

Public propertyFailuresGets the array of failures that resulted from the policy evaluation.
Public propertyPolicyGets the policy that was evaluated, which results in the associated array of failures.

Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.