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
- dependencyName
Type: System.String
- isSingleton
Type: System.Boolean
- resourceTypes
Type: array<System.Guid[]
.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.