
StatusCode | 367
HttpResponse
Class
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Parameter
Stream
An Object variable of type Stream. The
Stream class includes the following
members:
Notes
The OutputStream property provides an alternative to the Response.BinaryWrite
method when outputting binary content to the output stream is desired. You
could also pass the Stream instance retrieved from the OutputStream property to
a method of a custom component to allow that component to write binary
content directly to the output stream for the current response.
Status
String = Response.Status
Response.Status = String
Returns or sets a String that contains the HTTP status line that will be sent to the
client browser.
Parameter
String
A String variable to set or receive the status code of the current request. The
default is
"200 OK".
Notes
This property is provided for backward compatibility with classic ASP and has
been deprecated in ASP.NET in favor of the StatusDescription property. Unlike
the Status property, the StatusCode and StatusDescription properties allow you to
control the numeric status code portion of the status line and the text description
individually.
StatusCode
Integer = Response.StatusCode
Response.StatusCode = Integer
Returns or sets an integer that represents the HTTP status code that will be
returned to the browser.
Member Description
BeginWrite ...