WebAccountManager.InvalidateAppCacheForAllAccountsAsync Method

Definition

Clears the web account manager's token cache for all web accounts.

public:
 static IAsyncAction ^ InvalidateAppCacheForAllAccountsAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncAction InvalidateAppCacheForAllAccountsAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncAction InvalidateAppCacheForAllAccountsAsync();
function invalidateAppCacheForAllAccountsAsync()
Public Shared Function InvalidateAppCacheForAllAccountsAsync () As IAsyncAction

Returns

This method does not return a value.

Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

This method should be called whenever a web account provider app detects that a token cached by the web account manager is invalid.

Applies to