Partager via


AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) Méthode

Définition

Appelé pour marquer le spécifié requirement comme étant évalué avec succès.

public:
 void Succeed(Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^ requirement);
public:
 virtual void Succeed(Microsoft::AspNetCore::Authorization::IAuthorizationRequirement ^ requirement);
public void Succeed (Microsoft.AspNetCore.Authorization.IAuthorizationRequirement requirement);
public virtual void Succeed (Microsoft.AspNetCore.Authorization.IAuthorizationRequirement requirement);
member this.Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
abstract member Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
override this.Succeed : Microsoft.AspNetCore.Authorization.IAuthorizationRequirement -> unit
Public Sub Succeed (requirement As IAuthorizationRequirement)
Public Overridable Sub Succeed (requirement As IAuthorizationRequirement)

Paramètres

requirement
IAuthorizationRequirement

Exigence dont l’évaluation a réussi.

S’applique à