PolicyEnvelope Class

Encapsulates a policy instance together with some other properties.

System.Object
  Microsoft.TeamFoundation.VersionControl.Client.PolicyEnvelope

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.

  NameDescription
Public methodPolicyEnvelopeCreates a new policy envelope for the specified policy.
Top

  NameDescription
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.
Top

  NameDescription
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.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft