Bagikan melalui


IAuthorizationEvaluator.HasFailed(AuthorizationHandlerContext) Metode

Definisi

Mengembalikan true, jika otorisasi gagal.

public:
 bool HasFailed(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public bool HasFailed (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member HasFailed : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> bool
Public Function HasFailed (context As AuthorizationHandlerContext) As Boolean

Parameter

context
AuthorizationHandlerContext

Informasi otorisasi.

Mengembalikan

True jika otorisasi gagal.

Berlaku untuk