CacheSettings Constructor(String,Boolean,Int32,TimeSpan,TimeSpan,TimeSpan,Boolean)
See Also 
SourceCode.Caching Namespace > CacheSettings Class > CacheSettings Constructor : CacheSettings Constructor(String,Boolean,Int32,TimeSpan,TimeSpan,TimeSpan,Boolean)



settingsName
enabled
capacity
checkExpiredInterval
initialDuration
slidingDuration
traceEnabled

Glossary Item Box

Syntax

Visual Basic (Declaration)  
Public Function New( _
   ByVal settingsName As String, _
   ByVal enabled As Boolean, _
   ByVal capacity As Integer, _
   ByVal checkExpiredInterval As TimeSpan, _
   ByVal initialDuration As TimeSpan, _
   ByVal slidingDuration As TimeSpan, _
   ByVal traceEnabled As Boolean _
)
Visual Basic (Usage) Copy Code
Dim settingsName As String
Dim enabled As Boolean
Dim capacity As Integer
Dim checkExpiredInterval As TimeSpan
Dim initialDuration As TimeSpan
Dim slidingDuration As TimeSpan
Dim traceEnabled As Boolean
 
Dim instance As New CacheSettings(settingsName, enabled, capacity, checkExpiredInterval, initialDuration, slidingDuration, traceEnabled)

Parameters

settingsName
enabled
capacity
checkExpiredInterval
initialDuration
slidingDuration
traceEnabled

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also