HttpWriter Class
Provides a TextWriter object that is accessed through the intrinsic HttpResponse object.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | Encoding | Gets an Encoding object for the TextWriter.(Overrides TextWriter::Encoding.) |
![]() | FormatProvider | Gets an object that controls formatting.(Inherited from TextWriter.) |
![]() | NewLine | Gets or sets the line terminator string used by the current TextWriter.(Inherited from TextWriter.) |
![]() | OutputStream |
| Name | Description | |
|---|---|---|
![]() | Close() | Sends all buffered output to the HTTP output stream and closes the socket connection.(Overrides TextWriter::Close().) |
![]() | CreateObjRef(Type^) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from MarshalByRefObject.) |
![]() | Dispose() | Releases all resources used by the TextWriter object.(Inherited from TextWriter.) |
![]() | Equals(Object^) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Flush() | Sends all buffered output to the HTTP output stream.(Overrides TextWriter::Flush().) |
![]() | FlushAsync() | Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device. (Inherited from TextWriter.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetLifetimeService() | Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | GetType() | |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | Write(Boolean) | Writes the text representation of a Boolean value to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(Char) | Sends a single character to the HTTP output stream.(Overrides TextWriter::Write(Char).) |
![]() | Write(array<Char>^) | Writes a character array to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(array<Char>^, Int32, Int32) | Sends a stream of characters with the specified starting position and number of characters to the HTTP output stream.(Overrides TextWriter::Write(array<Char>^, Int32, Int32).) |
![]() | Write(Decimal) | Writes the text representation of a decimal value to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(Double) | Writes the text representation of an 8-byte floating-point value to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(Int32) | Writes the text representation of a 4-byte signed integer to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(Int64) | Writes the text representation of an 8-byte signed integer to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(Object^) | Sends an Object to the HTTP output stream.(Overrides TextWriter::Write(Object^).) |
![]() | Write(Single) | Writes the text representation of a 4-byte floating-point value to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(String^) | Sends a string to the HTTP output stream.(Overrides TextWriter::Write(String^).) |
![]() | Write(String^, Object^) | Writes a formatted string to the text string or stream, using the same semantics as the String::Format(String^, Object^) method.(Inherited from TextWriter.) |
![]() | Write(String^, Object^, Object^) | Writes a formatted string to the text string or stream, using the same semantics as the String::Format(String^, Object^, Object^) method.(Inherited from TextWriter.) |
![]() | Write(String^, Object^, Object^, Object^) | Writes a formatted string to the text string or stream, using the same semantics as the String::Format(String^, Object^, Object^, Object^) method.(Inherited from TextWriter.) |
![]() | Write(String^, array<Object^>^) | Writes a formatted string to the text string or stream, using the same semantics as the String::Format(String^, array<Object^>^) method.(Inherited from TextWriter.) |
![]() | Write(UInt32) | Writes the text representation of a 4-byte unsigned integer to the text string or stream.(Inherited from TextWriter.) |
![]() | Write(UInt64) | Writes the text representation of an 8-byte unsigned integer to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteAsync(Char) | Writes a character to the text string or stream asynchronously.(Inherited from TextWriter.) |
![]() | WriteAsync(array<Char>^) | Writes a character array to the text string or stream asynchronously.(Inherited from TextWriter.) |
![]() | WriteAsync(array<Char>^, Int32, Int32) | Writes a subarray of characters to the text string or stream asynchronously. (Inherited from TextWriter.) |
![]() | WriteAsync(String^) | Writes a string to the text string or stream asynchronously.(Inherited from TextWriter.) |
![]() | WriteBytes(array<Byte>^, Int32, Int32) | Sends a stream of bytes with the specified starting position and number of bytes to the HTTP output stream. |
![]() | WriteLine() | Sends a carriage return + line feed (CRLF) pair of characters to the HTTP output stream.(Overrides TextWriter::WriteLine().) |
![]() | WriteLine(Boolean) | Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(Char) | Writes a character followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(array<Char>^) | Writes an array of characters followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(array<Char>^, Int32, Int32) | Writes a subarray of characters followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(Decimal) | Writes the text representation of a decimal value followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(Double) | Writes the text representation of a 8-byte floating-point value followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(Int32) | Writes the text representation of a 4-byte signed integer followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(Int64) | Writes the text representation of an 8-byte signed integer followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(Object^) | Writes the text representation of an object by calling the ToString method on that object, followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(Single) | Writes the text representation of a 4-byte floating-point value followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(String^) | Writes a string followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(String^, Object^) | Writes a formatted string and a new line to the text string or stream, using the same semantics as the String::Format(String^, Object^) method.(Inherited from TextWriter.) |
![]() | WriteLine(String^, Object^, Object^) | Writes a formatted string and a new line to the text string or stream, using the same semantics as the String::Format(String^, Object^, Object^) method.(Inherited from TextWriter.) |
![]() | WriteLine(String^, Object^, Object^, Object^) | Writes out a formatted string and a new line, using the same semantics as Format.(Inherited from TextWriter.) |
![]() | WriteLine(String^, array<Object^>^) | Writes out a formatted string and a new line, using the same semantics as Format.(Inherited from TextWriter.) |
![]() | WriteLine(UInt32) | Writes the text representation of a 4-byte unsigned integer followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLine(UInt64) | Writes the text representation of an 8-byte unsigned integer followed by a line terminator to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLineAsync() | Writes a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLineAsync(Char) | Writes a character followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLineAsync(array<Char>^) | Writes an array of characters followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLineAsync(array<Char>^, Int32, Int32) | Writes a subarray of characters followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.) |
![]() | WriteLineAsync(String^) | Writes a string followed by a line terminator asynchronously to the text string or stream. (Inherited from TextWriter.) |
![]() | WriteString(String^, Int32, Int32) | Sends a string with the specified starting position and number of characters to the HTTP output stream. |
The Write methods of the intrinsic HttpResponse object make internal calls to an HttpWriter object.
Available since 1.1
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

