MsalAbstractTokenCacheProvider.OnBeforeWriteAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If you want to ensure that no concurrent write takes place, use this notification to place a lock on the entry.
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
Parameters
Token cache notification arguments.
Returns
A Task that represents a completed operation.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for