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.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈