Język

HubConnection.AuthenticationRefreshFailed Zdarzenie

Definicja

Występuje, gdy próba odświeżenia uwierzytelniania kończy się niepowodzeniem, automatycznie lub za pośrednictwem jawnego wywołania metody RefreshAuthenticationAsync(CancellationToken).

public event Func<Microsoft.AspNetCore.SignalR.Client.AuthenticationRefreshFailedContext,System.Threading.Tasks.Task>? AuthenticationRefreshFailed;
member this.AuthenticationRefreshFailed : Func<Microsoft.AspNetCore.SignalR.Client.AuthenticationRefreshFailedContext, System.Threading.Tasks.Task> 
Public Event AuthenticationRefreshFailed As Func(Of AuthenticationRefreshFailedContext, Task) 

Typ zdarzenia

Uwagi

Operacja odświeżania uwierzytelniania czeka na ukończenie każdego Task programu obsługi.

Dotyczy