Freigeben über


AuthorizationHandlerContext.Succeed(IAuthorizationRequirement) Methode

Definition

Wird aufgerufen, um die angegebene requirement als erfolgreich ausgewertet zu markieren.

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)

Parameter

requirement
IAuthorizationRequirement

Die Anforderung, deren Auswertung erfolgreich war.

Gilt für: