The methods of the HttpResponse class are listed here. For a complete list of HttpResponse class members, see the HttpResponse Members topic.
|AddCacheItemDependencies||Makes the validity of a cached item dependent on other items in the cache.|
|AddCacheItemDependency||Makes the validity of a cached item dependent on another item in the cache.|
|AddFileDependencies||Adds a group of file names to the collection of file names on which the current response is dependent.|
|AddFileDependency||Adds a single file name to the collection of file names on which the current response is dependent.|
|AddHeader||Adds an HTTP header to the output stream.
AddHeader is provided for compatibility with previous versions of ASP.
|AppendHeader||Adds an HTTP header to the output stream.|
|AppendToLog||Adds custom log information to the IIS log file.|
|ApplyAppPathModifier||Adds a session ID to the virtual path if the session is using cookieless session state and returns the combined path. If cookieless session state is not used, ApplyAppPathModifier returns the original virtual path.|
|BinaryWrite||Writes a string of binary characters to the HTTP output stream.|
|Clear||Clears all content output from the buffer stream.|
|ClearContent||Clears all content output from the buffer stream.|
|ClearHeaders||Clears all headers from the buffer stream.|
|Close||Closes the socket connection to a client.|
|End||Sends all currently buffered output to the client, stops execution of the page, and raises the Application_EndRequest event.|
|Equals (inherited from Object)||Overloaded. Determines whether two Object instances are equal.|
|Flush||Sends all currently buffered output to the client.|
|GetHashCode (inherited from Object)||Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.|
|GetType (inherited from Object)||Gets the Type of the current instance.|
|Pics||Appends a PICS-Label HTTP header to the output stream.|
|Redirect||Overloaded. Redirects a client to a new URL.|
|RemoveOutputCacheItem||Static method removes from the cache all cached items associated with the specified path.|
|ToString (inherited from Object)||Returns a String that represents the current Object.|
|Write||Overloaded. Writes information to an HTTP output content stream.|
|WriteFile||Overloaded. Writes the specified file directly to an HTTP content output stream.|
|Finalize (inherited from Object)||Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax.
|MemberwiseClone (inherited from Object)||Creates a shallow copy of the current Object.|