HttpResponseWrapper.AddFileDependencies Method

Definition

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.

C#
public override void AddFileDependencies(System.Collections.ArrayList filenames);

Parameters

filenames
ArrayList

The names of the files to add.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

AddFileDependencies(String[])

Adds an array of file names to the collection of file names on which the current response is dependent.

C#
public override void AddFileDependencies(string[] filenames);

Parameters

filenames
String[]

An array of files names to add.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1