8 references to Capacity
System.ServiceModel (8)
System\ServiceModel\Security\NegotiationTokenAuthenticatorStateCache.cs (4)
36TD.NegotiateTokenAuthenticatorStateCacheRatio(base.Count, base.Capacity); 50TD.NegotiateTokenAuthenticatorStateCacheRatio(base.Count, base.Capacity); 59TD.NegotiateTokenAuthenticatorStateCacheExceeded(SR.GetString(SR.CachedNegotiationStateQuotaReached, this.Capacity)); 61throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new QuotaExceededException(SR.GetString(SR.CachedNegotiationStateQuotaReached, this.Capacity)));
System\ServiceModel\Security\SecurityContextTokenCache.cs (4)
217SecurityTraceRecordHelper.TraceSecurityContextTokenCacheFull(this.Capacity, 0); 229int pruningAmount = (int)(((double)this.Capacity) * pruningFactor); 230pruningAmount = pruningAmount <= 0 ? this.Capacity : pruningAmount; 237SecurityTraceRecordHelper.TraceSecurityContextTokenCacheFull(this.Capacity, pruningAmount);