private void TraceConnectionLeaseTimeoutExpired() { if (TD.LeaseTimeoutIsEnabled()) { TD.LeaseTimeout(SR.Format(SR.TraceCodeConnectionPoolLeaseTimeoutReached, _leaseTimeout), _parent.Key.ToString()); } }
void TraceConnectionLeaseTimeoutExpired() { if (TD.LeaseTimeoutIsEnabled()) { TD.LeaseTimeout(SR.GetString(SR.TraceCodeConnectionPoolLeaseTimeoutReached, this.leaseTimeout), this.parent.Key.ToString()); } if (DiagnosticUtility.ShouldTraceInformation) { TraceUtility.TraceEvent(TraceEventType.Information, TraceCode.ConnectionPoolLeaseTimeoutReached, SR.GetString(SR.TraceCodeConnectionPoolLeaseTimeoutReached, this.leaseTimeout), this); } }