12 references to Format
System.Runtime.Caching (12)
System\Caching\Configuration\ConfigUtil.cs (5)
30
throw new ArgumentException(RH.
Format
(R.Value_must_be_non_negative_integer, valueName, sValue), "config");
33
throw new ArgumentException(RH.
Format
(R.Value_must_be_positive_integer, valueName, sValue), "config");
37
throw new ArgumentException(RH.
Format
(R.Value_too_big,
59
throw new ArgumentException(RH.
Format
(R.TimeSpan_invalid_format, valueName, sValue), "config");
76
throw new ArgumentException(RH.
Format
(R.Value_must_be_boolean, valueName, sValue), "config");
System\Caching\HostFileChangeMonitor.cs (2)
136
throw new ArgumentException(RH.
Format
(R.Empty_collection, "filePaths"));
152
throw new ArgumentException(RH.
Format
(R.Collection_contains_null_or_empty_string, "filePaths"));
System\Caching\MemoryCache.cs (5)
217
throw new ArgumentOutOfRangeException("policy", RH.
Format
(R.Argument_out_of_range, "SlidingExpiration", ObjectCache.NoSlidingExpiration, OneYear));
224
throw new ArgumentOutOfRangeException("policy", RH.
Format
(R.Argument_out_of_range, "Priority", CacheItemPriority.Default, CacheItemPriority.NotRemovable));
377
throw new ArgumentException(RH.
Format
(R.Empty_collection, "keys"));
382
throw new ArgumentException(RH.
Format
(R.Collection_contains_null_element, "keys"));
717
throw new ArgumentException(RH.
Format
(R.Collection_contains_null_element, "keys"));