Delegado PermissionEvaluationCallback
Uma função fornecida pelo usuário de [TeamFoundationSecurityNamespace].
Chamar-se-&z sempre que uma decisão de permissão está sendo feita.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (em Microsoft.TeamFoundation.Framework.Server.dll)
Sintaxe
'Declaração
Public Delegate Function PermissionEvaluationCallback ( _
requestContext As TeamFoundationRequestContext, _
token As String, _
requestedPermissions As Integer, _
effectiveAllows As Integer, _
effectiveDenys As Integer, _
preliminaryDecision As Boolean _
) As Boolean
public delegate bool PermissionEvaluationCallback(
TeamFoundationRequestContext requestContext,
string token,
int requestedPermissions,
int effectiveAllows,
int effectiveDenys,
bool preliminaryDecision
)
Parâmetros
- requestContext
Tipo: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- token
Tipo: System.String
- requestedPermissions
Tipo: System.Int32
- effectiveAllows
Tipo: System.Int32
- effectiveDenys
Tipo: System.Int32
- preliminaryDecision
Tipo: System.Boolean
Valor de retorno
Tipo: System.Boolean