XmlKeyManager.GetCacheExpirationToken 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.
Retrieves a token that signals that callers who have cached the return value of GetAllKeys should clear their caches. This could be in response to a call to CreateNewKey or RevokeKey, or it could be in response to some other external notification. Callers who are interested in observing this token should call this method before the corresponding call to GetAllKeys.
public:
virtual System::Threading::CancellationToken GetCacheExpirationToken();
public System.Threading.CancellationToken GetCacheExpirationToken ();
abstract member GetCacheExpirationToken : unit -> System.Threading.CancellationToken
override this.GetCacheExpirationToken : unit -> System.Threading.CancellationToken
Public Function GetCacheExpirationToken () As CancellationToken
Returns
The cache expiration token. When an expiration notification is triggered, any tokens previously returned by this method will become canceled, and tokens returned by future invocations of this method will themselves not trigger until the next expiration event.