Partager via


RemoteAuthenticationEvents.OnAccessDenied Propriété

Définition

Appelé lorsqu’une erreur d’accès refusé a été retournée par le serveur distant.

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)

Valeur de propriété

S’applique à