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