This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
HttpResponse Members
Public:
Constructor
Properties
Buffer |
Same as BufferOutput. Provided only for ASP compatibility. |
BufferOutput |
Gets or sets a value indicating whether HTTP output is buffered. |
Cache |
Returns the caching semantics of the Web page (expiration time, privacy, vary clauses). |
CacheControl |
Provided for ASP compatiblility. Use the Cache property instead. |
Charset |
Gets or sets the HTTP charset of output. |
ContentEncoding |
Gets or sets the HTTP character set of returned content. |
ContentType |
Gets or sets the HTTP MIME type of output. |
Cookies |
Gets the HttpCookie collection for the current request. |
Expires |
Gets or sets the time, in minutes, until cached information will be removed from the cache. Provided for ASP compatiblility. Use the Cache Property instead. |
ExpiresAbsolute |
Gets or sets the absolute time that cached information will be removed from the cache. Provided for ASP compatiblility. Use the Cache property instead. |
Filter |
Specifies a wrapping filter object to modify HTTP entity body before transmission. |
IsClientConnected |
Gets a value Indicating whether the client is still connected to the server. |
Output |
Enables custom output to the outgoing Http content body. |
OutputStream |
Enables binary output to the outgoing Http content body. |
Status |
Same as StatusDescription. Provided only for ASP compatibility. |
StatusCode |
Gets or sets the HTTP status code of output returned to client. |
StatusDescription |
Gets or sets the HTTP status string of output returned to the client. |
SuppressContent |
Gets or sets a value indicating that HTTP content will not be sent to client. |
Methods
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:
Methods
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