次の方法で共有


RemoteAuthenticationEvents.OnAccessDenied プロパティ

定義

リモート サーバーからアクセス拒否エラーが返されたときに呼び出されます。

public:
 property Func<Microsoft::AspNetCore::Authentication::AccessDeniedContext ^, System::Threading::Tasks::Task ^> ^ OnAccessDenied { Func<Microsoft::AspNetCore::Authentication::AccessDeniedContext ^, System::Threading::Tasks::Task ^> ^ get(); void set(Func<Microsoft::AspNetCore::Authentication::AccessDeniedContext ^, System::Threading::Tasks::Task ^> ^ value); };
public Func<Microsoft.AspNetCore.Authentication.AccessDeniedContext,System.Threading.Tasks.Task> OnAccessDenied { get; set; }
member this.OnAccessDenied : Func<Microsoft.AspNetCore.Authentication.AccessDeniedContext, System.Threading.Tasks.Task> with get, set
Public Property OnAccessDenied As Func(Of AccessDeniedContext, Task)

プロパティ値

適用対象