PolicyEnvelope Constructor
Creates a new policy envelope for the specified policy.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Déclaration
Public Sub New ( _
policy As IPolicyDefinition, _
policyType As PolicyType _
)
public PolicyEnvelope(
IPolicyDefinition policy,
PolicyType policyType
)
public:
PolicyEnvelope(
IPolicyDefinition^ policy,
PolicyType^ policyType
)
new :
policy:IPolicyDefinition *
policyType:PolicyType -> PolicyEnvelope
public function PolicyEnvelope(
policy : IPolicyDefinition,
policyType : PolicyType
)
Parameters
- policy
Type: Microsoft.TeamFoundation.VersionControl.Client.IPolicyDefinition
The policy for which to create the envelope.
- policyType
Type: Microsoft.TeamFoundation.VersionControl.Client.PolicyType
The policy type of policy.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.