Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar Namespace / PipeStream Class / Write Method

In This Topic
    Write Method (PipeStream)
    In This Topic
    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.
    Overload List
    OverloadDescription
    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. Writes a block of bytes to the current stream using data read from buffer.  
    (Inherited from System.IO.MemoryStream)
    Exceptions
    ExceptionDescription
    The sum of offset and count is greater than the buffer length.
    buffer is a null reference (Nothing in Visual Basic).
    offset or count is negative.
    An I/O error occured, such as the specified file cannot be found.
    The stream does not support writing.
    System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32) was called after the stream was closed.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also