Lingua

MsalAbstractTokenCacheProvider.OnBeforeWriteAsync Metodo

Definizione

Se si vuole assicurarsi che non venga eseguita alcuna scrittura simultanea, usare questa notifica per inserire un blocco sulla voce.

protected virtual System.Threading.Tasks.Task OnBeforeWriteAsync(Microsoft.Identity.Client.TokenCacheNotificationArgs args);
abstract member OnBeforeWriteAsync : Microsoft.Identity.Client.TokenCacheNotificationArgs -> System.Threading.Tasks.Task
override this.OnBeforeWriteAsync : Microsoft.Identity.Client.TokenCacheNotificationArgs -> System.Threading.Tasks.Task
Protected Overridable Function OnBeforeWriteAsync (args As TokenCacheNotificationArgs) As Task

Parametri

args
TokenCacheNotificationArgs

Argomenti di notifica della cache dei token.

Valori restituiti

Oggetto Task che rappresenta un'operazione completata.

Si applica a