HttpResponseBase.AddFileDependencies Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Makes the validity of a cached response dependent on a specified file or files.
Overloads
AddFileDependencies(ArrayList) |
Adds file names to the collection of file names on which the current response is dependent. |
AddFileDependencies(String[]) |
Adds an array of file names to the collection of file names on which the current response is dependent. |
AddFileDependencies(ArrayList)
Adds file names to the collection of file names on which the current response is dependent.
public:
virtual void AddFileDependencies(System::Collections::ArrayList ^ filenames);
public virtual void AddFileDependencies (System.Collections.ArrayList filenames);
abstract member AddFileDependencies : System.Collections.ArrayList -> unit
override this.AddFileDependencies : System.Collections.ArrayList -> unit
Public Overridable Sub AddFileDependencies (filenames As ArrayList)
Parameters
- filenames
- ArrayList
The names of the files to add.
Exceptions
Always.
Applies to
AddFileDependencies(String[])
Adds an array of file names to the collection of file names on which the current response is dependent.
public:
virtual void AddFileDependencies(cli::array <System::String ^> ^ filenames);
public virtual void AddFileDependencies (string[] filenames);
abstract member AddFileDependencies : string[] -> unit
override this.AddFileDependencies : string[] -> unit
Public Overridable Sub AddFileDependencies (filenames As String())
Parameters
- filenames
- String[]
An array of file names to add.
Exceptions
Always.