Base:
method
ToString
System.ValueType.ToString()
40 references to ToString
PresentationCore (1)
Core\CSharp\System\Windows\Media\Animation\RepeatBehavior.cs (1)
316
return _repeatDuration.
ToString
();
System (6)
net\System\Net\Cache\RequestCachePolicy.cs (3)
275
(m_MaxAge == TimeSpan.MaxValue? string.Empty: " MaxAge:" + m_MaxAge.
ToString
()) +
276
(m_MinFresh == TimeSpan.MinValue? string.Empty: " MinFresh:" + m_MinFresh.
ToString
()) +
277
(m_MaxStale == TimeSpan.MinValue? string.Empty: " MaxStale:" + m_MaxStale.
ToString
()) +
net\System\Net\mail\MailBnfHelper.cs (1)
288
string offset = TimeZone.CurrentTimeZone.GetUtcOffset(value).
ToString
();
net\System\Net\WebSockets\ClientWebSocket.cs (1)
596
Timeout.InfiniteTimeSpan.
ToString
()));
net\System\Net\WebSockets\WebSocketHelpers.cs (1)
466
SR.GetString(SR.net_WebSockets_ArgumentOutOfRange_TooSmall, Timeout.InfiniteTimeSpan.
ToString
()));
System.AddIn (1)
System\Addin\Hosting\AddInProcess.cs (1)
398
throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, Res.CouldNotCreateAddInProcess, _startupTimeout.
ToString
()));
System.Configuration (3)
System\Configuration\TimeSpanValidatorAttribute.cs (2)
56
return _min.
ToString
();
71
return _max.
ToString
();
System\Configuration\ValidatorUtils.cs (1)
103
ValidateResolution(TimeSpan.FromSeconds( resolutionInSeconds ).
ToString
(), value.Ticks, resolutionInSeconds * TimeSpan.TicksPerSecond);
System.Data (2)
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
6261
throw SQL.TimeOverflow(value.
ToString
());
6275
throw SQL.TimeOverflow(value.
ToString
());
System.IdentityModel (3)
System\IdentityModel\Configuration\IdentityModelTimeSpanValidatorAttribute.cs (1)
19
this.innerValidatorAttribute.MaxValueString = TimeoutHelper.MaxWait.
ToString
();
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (1)
1746
new SecurityTokenValidationException(SR.GetString(SR.ID1069, tokenExpiration.Value.ToString(), Configuration.TokenReplayCacheExpirationPeriod.
ToString
())));
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
870
new SecurityTokenValidationException(SR.GetString(SR.ID1069, token.ValidTo.ToString(), Configuration.TokenReplayCacheExpirationPeriod.
ToString
())));
System.Messaging (7)
System\Messaging\Message.cs (2)
1703
throw new ArgumentException(Res.GetString(Res.InvalidProperty, "TimeToBeReceived", value.
ToString
()));
1753
throw new ArgumentException(Res.GetString(Res.InvalidProperty, "TimeToReachQueue", value.
ToString
()));
System\Messaging\MessageEnumerator.cs (2)
160
throw new ArgumentException(Res.GetString(Res.InvalidParameter, "timeout", timeout.
ToString
()));
266
throw new ArgumentException(Res.GetString(Res.InvalidParameter, "timeout", timeout.
ToString
()));
System\Messaging\MessageQueue.cs (3)
2513
throw new ArgumentException(Res.GetString(Res.InvalidParameter, "timeout", timeout.
ToString
()));
2600
throw new ArgumentException(Res.GetString(Res.InvalidParameter, "timeout", timeout.
ToString
()));
3020
throw new ArgumentException(Res.GetString(Res.InvalidParameter, "timeout", timeout.
ToString
()));
System.ServiceModel (5)
System\ServiceModel\Channels\SocketConnection.cs (2)
473
this.TraceSocketInfo(this.socket, TraceCode.SocketConnectionClose, SR.TraceCodeSocketConnectionClose, timeout.
ToString
());
1677
SR.GetString(SR.TcpConnectingToViaTimedOut, uri.AbsoluteUri, timeout.
ToString
(),
System\ServiceModel\Configuration\ServiceModelTimeSpanValidator.cs (1)
20
this.innerValidatorAttribute.MaxValueString = TimeoutHelper.MaxWait.
ToString
();
System\ServiceModel\Diagnostics\ServiceConfigurationTraceRecord.cs (2)
38
xml.WriteElementString("OpenTimeout", this.serviceElement.Host.Timeouts.OpenTimeout.
ToString
());
39
xml.WriteElementString("CloseTimeout", this.serviceElement.Host.Timeouts.CloseTimeout.
ToString
());
System.ServiceModel.Activation (1)
System\ServiceModel\ServiceHostingEnvironment.cs (1)
241
SR2.Hosting_NotLoggingInsufficientMemoryExceptionsOnActivationForNextTimeInterval(InsufficientMemoryLogIntervalDuration.
ToString
()),
System.Web (3)
Configuration\BufferModeSettings.cs (2)
238
elem.UrgentFlushInterval.
ToString
(),
240
elem.RegularFlushInterval.
ToString
(),
UI\PageParser.cs (1)
570
value = (new TimeSpan(0, 0, timeoutInSeconds)).
ToString
();
System.Web.DataVisualization (1)
WebForm\General\ChartHttpHandler.cs (1)
569
settings.Add("TimeOut", Settings.Timeout.
ToString
());
System.Workflow.Activities (2)
Delay.cs (2)
161
errors.Add(new ValidationError(SR.GetString(SR.Error_NegativeValue, new object[] { delay.TimeoutDuration.
ToString
(), "TimeoutDuration" }), ErrorNumbers.Error_NegativeValue));
215
return timespan.
ToString
();
System.Workflow.ComponentModel (2)
AuthoringOM\Behaviors\WorkflowTransactionOptions.cs (1)
76
return timespan.
ToString
();
AuthoringOM\Compiler\Validation\TransactionContextValidator.cs (1)
78
ValidationError timeoutError = new ValidationError(SR.GetString(SR.Error_NegativeValue, new object[] { atomicTransaction.TimeoutDuration.
ToString
(), "TimeoutDuration" }), ErrorNumbers.Error_NegativeValue);
System.WorkflowServices (3)
System\ServiceModel\Description\PersistenceProviderBehavior.cs (1)
80
wmiInstance.SetProperty("PersistenceOperationTimeout", this.PersistenceOperationTimeout.
ToString
());
System\ServiceModel\Description\WorkflowRuntimeBehavior.cs (1)
114
wmiInstance.SetProperty("CachedInstanceExpiration", this.CachedInstanceExpiration.
ToString
());
System\ServiceModel\Persistence\SqlPersistenceProviderFactory.cs (1)
575
{ "LockTimeout", this.lockTimeout.
ToString
() }