NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpResponse Methods

The methods of the HttpResponse class are listed below. For a complete list of HttpResponse class members, see the HttpResponse Members topic.

Public:

AddFileDependencies Adds dependency on a group of files to the current response.
AddFileDependency Adds dependency on a file to the current response.
AddHeader Same as Appendheader. Provided only for ASP compatibility.
AppendHeader Adds an HTTP header to the output stream.
AppendToLog Adds custom log information to the IIS log file.
BinaryWrite Writes a string of binary characters to the output stream.
Clear Clears all headers and 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 then closes the socket connection.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
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 Object.
Redirect Redirects a client to a new URL.
ToString (inherited from Object) Returns a String that represents the current Object.
Write Writes values to an HTTP output content stream.
WriteFile Overloaded. Writes a file directly to an HTTP content output stream.

Protected:

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

HttpResponse Class | System.Web Namespace