InMemoryCryptoProviderCache.TryRemove(SignatureProvider) 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.
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.