HttpResponseWrapper.AddFileDependencies Method
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.
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. |
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.
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 |
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
.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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: