共用方式為


DependencyConstraint Constructor (String, Boolean, array<Guid )

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Sub New ( _
    dependencyName As String, _
    isSingleton As Boolean, _
    ParamArray resourceTypes As Guid() _
)
public DependencyConstraint(
    string dependencyName,
    bool isSingleton,
    params Guid[] resourceTypes
)
public:
DependencyConstraint(
    String^ dependencyName, 
    bool isSingleton, 
    ... array<Guid>^ resourceTypes
)
new : 
        dependencyName:string * 
        isSingleton:bool * 
        resourceTypes:Guid[] -> DependencyConstraint
public function DependencyConstraint(
    dependencyName : String, 
    isSingleton : boolean, 
    ... resourceTypes : Guid[]
)

Parameters

.NET Framework Security

See Also

Reference

DependencyConstraint Class

DependencyConstraint Overload

Microsoft.TeamFoundation.Server.Core Namespace