DevForce Help Reference
GetCacheDependency(String,IEnumerable,DateTime) Method


The path to the primary virtual resource.
An array of paths to other resources required by the primary virtual resource.
The UTC time at which the virtual resources were read.
Creates a cache dependency based on the specified virtual paths.
Syntax
'Declaration
 
Public Overrides Function GetCacheDependency( _
   ByVal virtualPath As String, _
   ByVal virtualPathDependencies As IEnumerable, _
   ByVal utcStart As Date _
) As CacheDependency
'Usage
 
Dim instance As ServiceVirtualPathProvider
Dim virtualPath As String
Dim virtualPathDependencies As IEnumerable
Dim utcStart As Date
Dim value As CacheDependency
 
value = instance.GetCacheDependency(virtualPath, virtualPathDependencies, utcStart)

Parameters

virtualPath
The path to the primary virtual resource.
virtualPathDependencies
An array of paths to other resources required by the primary virtual resource.
utcStart
The UTC time at which the virtual resources were read.

Return Value

A System.Web.Caching.CacheDependency object for the specified virtual resources.
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

Reference

ServiceVirtualPathProvider Class
ServiceVirtualPathProvider Members

Send Feedback