InMemoryCryptoProviderCache.TryRemove(SignatureProvider) Method

Definition

Trys to remove a SignatureProvider from this cache.

public override bool TryRemove (Microsoft.IdentityModel.Tokens.SignatureProvider signatureProvider);
override this.TryRemove : Microsoft.IdentityModel.Tokens.SignatureProvider -> bool
Public Overrides Function TryRemove (signatureProvider As SignatureProvider) As Boolean

Parameters

signatureProvider
SignatureProvider

SignatureProvider to remove.

Returns

true if the SignatureProvider was removed, false if the SignatureProvider was not found.

Exceptions

if signatureProvider is null.

Remarks

if the SignatureProvider is removed CryptoProviderCache will be set to null.

Applies to