ResourceValidationSpec Constructor
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub New ( _
resourceType As Guid, _
validateResource As ValidateResourceDelegate _
)
public ResourceValidationSpec(
Guid resourceType,
ValidateResourceDelegate validateResource
)
public:
ResourceValidationSpec(
Guid resourceType,
ValidateResourceDelegate^ validateResource
)
new :
resourceType:Guid *
validateResource:ValidateResourceDelegate -> ResourceValidationSpec
public function ResourceValidationSpec(
resourceType : Guid,
validateResource : ValidateResourceDelegate
)
Parameters
- resourceType
Type: System.Guid
- validateResource
Type: Microsoft.TeamFoundation.Framework.Server.ValidateResourceDelegate
.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.