AssertionRequirement.Handler 属性

定义

调用用于处理此要求的函数。

public:
 property Func<Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^, System::Threading::Tasks::Task<bool> ^> ^ Handler { Func<Microsoft::AspNetCore::Authorization::AuthorizationHandlerContext ^, System::Threading::Tasks::Task<bool> ^> ^ get(); };
public Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext,System.Threading.Tasks.Task<bool>> Handler { get; }
member this.Handler : Func<Microsoft.AspNetCore.Authorization.AuthorizationHandlerContext, System.Threading.Tasks.Task<bool>>
Public ReadOnly Property Handler As Func(Of AuthorizationHandlerContext, Task(Of Boolean))

属性值

适用于