HttpStreamingStream Class Methods
In This Topic
For a list of all methods of this type, see
HttpStreamingStream.
Public Methods
| Name | Description |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | BeginRead | Begins an asynchronous read operation. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | BeginWrite | Begins an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | Close | Closes the current stream and releases any resources (such as sockets and file handles) associated with the current stream. Instead of calling this method, ensure that the stream is properly disposed. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | CopyTo | Overloaded. Reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | CopyToAsync | Overloaded. Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified cancellation token. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | DisposeAsync | Asynchronously releases the unmanaged resources used by the System.IO.Stream. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | EndRead | Waits for the pending asynchronous read to complete. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | EndWrite | Ends an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | Flush | Clears buffer for this stream and causes buffered data to be written to the underlying stream. |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | FlushAsync | Overloaded. Asynchronously clears all buffers for this stream and causes any buffered data to be written to the underlying device. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | Read | Overloaded. When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | ReadAsync | Overloaded. Asynchronously reads a sequence of bytes from the current stream, advances the position within the stream by the number of bytes read, and monitors cancellation requests. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | ReadAtLeast | (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | ReadAtLeastAsync | (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | ReadByte | Reads a byte from the stream and advances the position within the stream by one byte, or returns -1 if at the end of the stream. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | ReadExactly | Overloaded. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | ReadExactlyAsync | Overloaded. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | Seek | Sets the position within the current stream. |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | SetLength | Sets the length of the current stream. |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) ![static (Shared in Visual Basic)](../template/packages/core-dotnet/images/static.png) | Synchronized | Creates a thread-safe (synchronized) wrapper around the specified System.IO.Stream object. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | Write | Overloaded. When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | WriteAsync | Overloaded. Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests. (Inherited from System.IO.Stream) |
![Public Method](../template/packages/core-dotnet/images/publicMethod.png) | WriteByte | Writes a byte to the current position in the stream and advances the position within the stream by one byte. (Inherited from System.IO.Stream) |
Protected Methods
See Also