Compartir a través de


RemoteAuthenticationEvents.OnAccessDenied Propiedad

Definición

Se invoca cuando el servidor remoto devolvió un error de acceso denegado.

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)

Valor de propiedad

Se aplica a