Edit

Bagikan melalui


HttpResponseBase.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:
 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

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

Applies to