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.

public:
 override void AddFileDependencies(System::Collections::ArrayList ^ filenames);
public override void AddFileDependencies (System.Collections.ArrayList filenames);
override this.AddFileDependencies : System.Collections.ArrayList -> unit
Public Overrides Sub AddFileDependencies (filenames As ArrayList)

Parameters

filenames
ArrayList

The names of the files to add.

AddFileDependencies(String[])

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

public:
 override void AddFileDependencies(cli::array <System::String ^> ^ filenames);
public override void AddFileDependencies (string[] filenames);
override this.AddFileDependencies : string[] -> unit
Public Overrides Sub AddFileDependencies (filenames As String())

Parameters

filenames
String[]

An array of files names to add.

Applies to