ValidateCategory is used to make sure that the requestContext has the right to access the database and that the schema version matches between the component and the extended property
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub ValidateCategory ( _
requestContext As TeamFoundationRequestContext, _
databaseCategory As String _
)
public void ValidateCategory(
TeamFoundationRequestContext requestContext,
string databaseCategory
)
public:
void ValidateCategory(
TeamFoundationRequestContext^ requestContext,
String^ databaseCategory
)
member ValidateCategory :
requestContext:TeamFoundationRequestContext *
databaseCategory:string -> unit
public function ValidateCategory(
requestContext : TeamFoundationRequestContext,
databaseCategory : String
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- databaseCategory
Type: System.String
.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.