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) | ![]() |
---|---|
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) |
C# | |
---|---|
public CacheSettings( string settingsName, bool enabled, int capacity, TimeSpan checkExpiredInterval, TimeSpan initialDuration, TimeSpan slidingDuration, bool traceEnabled ) |
C++/CLI | |
---|---|
public: CacheSettings( String^ settingsName, bool enabled, int capacity, TimeSpan checkExpiredInterval, TimeSpan initialDuration, TimeSpan slidingDuration, bool traceEnabled ) |
Parameters
- settingsName
- enabled
- capacity
- checkExpiredInterval
- initialDuration
- slidingDuration
- traceEnabled
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