[Root] / Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / NonClosingStream Class


In This Topic
    NonClosingStream Class
    In This Topic
    Syntax
    'Declaration
     
    
    Public NotInheritable Class NonClosingStream 
       Inherits System.IO.Stream
    'Usage
     
    
    Dim instance As NonClosingStream
    public sealed class NonClosingStream : System.IO.Stream 
    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.IO.Stream
             Xceed.Drawing.NonClosingStream

    Public Constructors
     NameDescription
    Public Constructor  
    Top
    Public Properties
     NameDescription
    Public PropertyOverridden.   
    Public PropertyOverridden.   
    Public PropertyGets a value that determines whether the current stream can time out. (Inherited from System.IO.Stream)
    Public PropertyOverridden.   
    Public PropertyOverridden.   
    Public PropertyOverridden.   
    Public PropertyGets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out. (Inherited from System.IO.Stream)
    Public PropertyGets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out. (Inherited from System.IO.Stream)
    Top
    Public Methods
     NameDescription
    Public MethodBegins an asynchronous read operation. (Consider using System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
    Public MethodBegins an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
    Public MethodCloses 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 MethodOverloaded. Reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream)
    Public MethodOverloaded. Asynchronously reads the bytes from the current stream and writes them to another stream. (Inherited from System.IO.Stream)
    Public MethodCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Overridden. Releases all resources used by the System.IO.Stream.  
    Public MethodWaits 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 MethodEnds an asynchronous write operation. (Consider using System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32) instead.) (Inherited from System.IO.Stream)
    Public MethodOverridden.   
    Public MethodOverloaded. 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 MethodRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from System.MarshalByRefObject)
    Public MethodOverridden.   
    Public MethodOverloaded. Asynchronously 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 MethodOverridden.   
    Public MethodOverridden.   
    Public MethodOverridden.   
    Public MethodOverridden.   
    Public MethodOverloaded. Asynchronously 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 MethodOverridden.   
    Top
    Protected Methods
     NameDescription
    Protected MethodOverloaded. Creates a shallow copy of the current System.MarshalByRefObject object. (Inherited from System.MarshalByRefObject)
    Top
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also