共用方式為


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

'Declaration
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

.NET Framework Security

See Also

Reference

PolicyEnvelope Class

Microsoft.TeamFoundation.VersionControl.Client Namespace