2 references to TryAddItem
System.ServiceModel (2)
System\ServiceModel\Security\SecurityContextTokenCache.cs (1)
76bool wasTokenAdded = base.TryAddItem(hashKey, (SecurityContextSecurityToken)token.Clone(), false);
System\ServiceModel\Security\TimeBoundedCache.cs (1)
88return this.TryAddItem(key, new ExpirableItem(item, expirationTime), replaceExistingEntry);