InMemoryCryptoProviderCache.TryAdd(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 adds a SignatureProvider to this cache.
public override bool TryAdd (Microsoft.IdentityModel.Tokens.SignatureProvider signatureProvider);
override this.TryAdd : Microsoft.IdentityModel.Tokens.SignatureProvider -> bool
Public Overrides Function TryAdd (signatureProvider As SignatureProvider) As Boolean
Parameters
- signatureProvider
- SignatureProvider
SignatureProvider to cache.
Returns
true
if the SignatureProvider was added, false
if the cache already contained the SignatureProvider or if SignatureProvider should not be cached.
Exceptions
if signatureProvider is null.
Remarks
if the SignatureProvider is added CryptoProviderCache will be set to 'this'.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Bald verfügbar: Im Laufe des Jahres 2024 werden wir GitHub-Issues stufenweise als Feedbackmechanismus für Inhalte abbauen und durch ein neues Feedbacksystem ersetzen. Weitere Informationen finden Sie unterFeedback senden und anzeigen für