ResponseExtensions Methods

Include Protected Members
Include Inherited Members

The ResponseExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member OutputCache Configures the cache policy of an HTTP response instance.
Public methodStatic member SetStatus(HttpResponseBase, Int32) Sets the HTTP status code of an HTTP response using the specified integer value.
Public methodStatic member SetStatus(HttpResponseBase, HttpStatusCode) Sets the HTTP status code of an HTTP response using the specified HTTP status code enumeration value.
Public methodStatic member WriteBinary(HttpResponseBase, Byte[]) Writes a sequence of bytes that represent binary content of an unspecified type to the output stream of an HTTP response.
Public methodStatic member WriteBinary(HttpResponseBase, Byte[], String) Writes a sequence of bytes that represent binary content of the specified MIME type to the output stream of an HTTP response.

Top

See Also

Reference

ResponseExtensions Class

System.Web.WebPages Namespace