Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encapsulates a policy instance together with some other properties.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.VersionControl.Client.PolicyEnvelope
Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public NotInheritable Class PolicyEnvelope
public sealed class PolicyEnvelope
public ref class PolicyEnvelope sealed
[<Sealed>]
type PolicyEnvelope =  class end
public final class PolicyEnvelope
The PolicyEnvelope type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| .gif) | PolicyEnvelope | Creates a new policy envelope for the specified policy. | 
Top
Properties
| Name | Description | |
|---|---|---|
| .gif) | Enabled | Gets or sets a flag that describes whether this policy may be evaluated. | 
| .gif) | Policy | Gets or sets the policy that is contained in this envelope. | 
| .gif) | Type | Gets the policy type of the policy that is stored in this envelope. | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Equals | Compares this PolicyEnvelope with another for equality. (Overrides Object.Equals(Object).) | 
| .gif) | GetHashCode | Gets the hash code for this object. (Overrides Object.GetHashCode().) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | 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.