다음을 통해 공유


InMemoryCryptoProviderCache.Dispose Method

Definition

Overloads

Dispose()

Calls Dispose(Boolean) and SuppressFinalize(Object) Note: the EventBasedLRUCache is no longer being disposed of, but since this is a public class and can be used as base class of custom cache implementations, we need to keep it as some implementations may override Dispose().

Dispose(Boolean)

If disposing is true, this method disposes of Microsoft.IdentityModel.Tokens.InMemoryCryptoProviderCache._signingSignatureProviders and Microsoft.IdentityModel.Tokens.InMemoryCryptoProviderCache._verifyingSignatureProviders.

Dispose()

Calls Dispose(Boolean) and SuppressFinalize(Object) Note: the EventBasedLRUCache is no longer being disposed of, but since this is a public class and can be used as base class of custom cache implementations, we need to keep it as some implementations may override Dispose().

public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Applies to

Dispose(Boolean)

If disposing is true, this method disposes of Microsoft.IdentityModel.Tokens.InMemoryCryptoProviderCache._signingSignatureProviders and Microsoft.IdentityModel.Tokens.InMemoryCryptoProviderCache._verifyingSignatureProviders.

protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

True if called from the Dispose() method, false otherwise.

Applies to