Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

PolicyEnvelope Class

Encapsulates a policy instance together with some other properties.


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

public sealed class PolicyEnvelope

The PolicyEnvelope type exposes the following members.

Public methodPolicyEnvelopeCreates a new policy envelope for the specified policy.

Public propertyEnabledGets or sets a flag that describes whether this policy may be evaluated.
Public propertyPolicyGets or sets the policy that is contained in this envelope.
Public propertyTypeGets the policy type of the policy that is stored in this envelope.

Public methodEqualsCompares this PolicyEnvelope with another for equality. (Overrides Object.Equals(Object).)
Public methodGetHashCodeGets the hash code for this object. (Overrides Object.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (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.
© 2015 Microsoft