共用方式為


DefaultAuthorizationEvaluator.HasSucceeded 方法

定義

如果授權成功,則傳回 true。

public:
 virtual bool HasSucceeded(Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^ context);
public virtual bool HasSucceeded (Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext context);
abstract member HasSucceeded : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> bool
override this.HasSucceeded : Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext -> bool
Public Overridable Function HasSucceeded (context As AuthorizationHandlerContext) As Boolean

參數

context
AuthorizationHandlerContext

授權資訊。

傳回

如果授權成功,則為 True。

實作

適用於