HttpWriter Class
TOC
Collapse the table of content
Expand the table of content

HttpWriter Class

 

Provides a TextWriter object that is accessed through the intrinsic HttpResponse object.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

System.Object
  System.MarshalByRefObject
    System.IO.TextWriter
      System.Web.HttpWriter

public sealed class HttpWriter : TextWriter

NameDescription
System_CAPS_pubpropertyEncoding

Gets an Encoding object for the TextWriter.(Overrides TextWriter.Encoding.)

System_CAPS_pubpropertyFormatProvider

Gets an object that controls formatting.(Inherited from TextWriter.)

System_CAPS_pubpropertyNewLine

Gets or sets the line terminator string used by the current TextWriter.(Inherited from TextWriter.)

System_CAPS_pubpropertyOutputStream

Gets a Stream object to enable HTTP output directly from the Stream.

NameDescription
System_CAPS_pubmethodClose()

Sends all buffered output to the HTTP output stream and closes the socket connection.(Overrides TextWriter.Close().)

System_CAPS_pubmethodCreateObjRef(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.)

System_CAPS_pubmethodDispose()

Releases all resources used by the TextWriter object.(Inherited from TextWriter.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodFlush()

Sends all buffered output to the HTTP output stream.(Overrides TextWriter.Flush().)

System_CAPS_pubmethodFlushAsync()

Asynchronously clears all buffers for the current writer and causes any buffered data to be written to the underlying device. (Inherited from TextWriter.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWrite(Boolean)

Writes the text representation of a Boolean value to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(Char)

Sends a single character to the HTTP output stream.(Overrides TextWriter.Write(Char).)

System_CAPS_pubmethodWrite(Char[])

Writes a character array to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(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(Char[], Int32, Int32).)

System_CAPS_pubmethodWrite(Decimal)

Writes the text representation of a decimal value to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(Double)

Writes the text representation of an 8-byte floating-point value to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(Int32)

Writes the text representation of a 4-byte signed integer to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(Int64)

Writes the text representation of an 8-byte signed integer to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(Object)

Sends an Object to the HTTP output stream.(Overrides TextWriter.Write(Object).)

System_CAPS_pubmethodWrite(Single)

Writes the text representation of a 4-byte floating-point value to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(String)

Sends a string to the HTTP output stream.(Overrides TextWriter.Write(String).)

System_CAPS_pubmethodWrite(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.)

System_CAPS_pubmethodWrite(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.)

System_CAPS_pubmethodWrite(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.)

System_CAPS_pubmethodWrite(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.)

System_CAPS_pubmethodWrite(UInt32)

Writes the text representation of a 4-byte unsigned integer to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWrite(UInt64)

Writes the text representation of an 8-byte unsigned integer to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(Char)

Writes a character to the text string or stream asynchronously.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(Char[])

Writes a character array to the text string or stream asynchronously.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(Char[], Int32, Int32)

Writes a subarray of characters to the text string or stream asynchronously. (Inherited from TextWriter.)

System_CAPS_pubmethodWriteAsync(String)

Writes a string to the text string or stream asynchronously.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteBytes(Byte[], Int32, Int32)

Sends a stream of bytes with the specified starting position and number of bytes to the HTTP output stream.

System_CAPS_pubmethodWriteLine()

Sends a carriage return + line feed (CRLF) pair of characters to the HTTP output stream.(Overrides TextWriter.WriteLine().)

System_CAPS_pubmethodWriteLine(Boolean)

Writes the text representation of a Boolean value followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(Char)

Writes a character followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(Char[])

Writes an array of characters followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(Char[], Int32, Int32)

Writes a subarray of characters followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(Decimal)

Writes the text representation of a decimal value followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(String)

Writes a string followed by a line terminator to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(String, Object, Object, Object)

Writes out a formatted string and a new line, using the same semantics as Format.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(String, Object[])

Writes out a formatted string and a new line, using the same semantics as Format.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLine(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.)

System_CAPS_pubmethodWriteLineAsync()

Writes a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(Char)

Writes a character followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(Char[])

Writes an array of characters followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(Char[], Int32, Int32)

Writes a subarray of characters followed by a line terminator asynchronously to the text string or stream.(Inherited from TextWriter.)

System_CAPS_pubmethodWriteLineAsync(String)

Writes a string followed by a line terminator asynchronously to the text string or stream. (Inherited from TextWriter.)

System_CAPS_pubmethodWriteString(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.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft