PolicyEnvelope Class
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
'Declaración
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 | |
---|---|---|
PolicyEnvelope | Creates a new policy envelope for the specified policy. |
Top
Properties
Name | Description | |
---|---|---|
Enabled | Gets or sets a flag that describes whether this policy may be evaluated. | |
Policy | Gets or sets the policy that is contained in this envelope. | |
Type | Gets the policy type of the policy that is stored in this envelope. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Compares this PolicyEnvelope with another for equality. (Overrides Object.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Gets the hash code for this object. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.