WriteOnlyStream Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
The WriteOnlyStream is obsolete and will be removed in a future release.
que Stream solo permite escrituras.
public ref class WriteOnlyStream abstract : System::IO::Stream
public abstract class WriteOnlyStream : System.IO.Stream
[System.Obsolete("The WriteOnlyStream is obsolete and will be removed in a future release.")]
public abstract class WriteOnlyStream : System.IO.Stream
type WriteOnlyStream = class
inherit Stream
[<System.Obsolete("The WriteOnlyStream is obsolete and will be removed in a future release.")>]
type WriteOnlyStream = class
inherit Stream
Public MustInherit Class WriteOnlyStream
Inherits Stream
- Herencia
-
WriteOnlyStream
- Derivado
- Atributos
Constructores
| WriteOnlyStream() |
Propiedades
| CanRead | When overridden in a derived class, gets a value indicating whether the current stream supports reading. |
| CanSeek | When overridden in a derived class, gets a value indicating whether the current stream supports seeking. |
| CanWrite | When overridden in a derived class, gets a value indicating whether the current stream supports writing. |
| Length | When overridden in a derived class, gets the length in bytes of the stream. |
| Position | When overridden in a derived class, gets or sets the position within the current stream. |
| ReadTimeout | Gets or sets a value, in milliseconds, that determines how long the stream will attempt to read before timing out. |
Métodos
| Read(Byte[], Int32, Int32) | 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. |
| ReadAsync(Byte[], Int32, Int32, CancellationToken) | 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. |
| ReadAsync(Memory<Byte>, CancellationToken) | 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. |
| Seek(Int64, SeekOrigin) | When overridden in a derived class, sets the position within the current stream. |
| SetLength(Int64) | When overridden in a derived class, sets the length of the current stream. |