a System.IO.Stream
Starting with the .NET Framework versionĀ 2.0, when you use the System.IO.Stream.Write(Byte[], int, int) method of the IO stream returned by the HttpResponse.OutputStream property, the following exceptions might be thrown:
ArgumentOutOfRangeException, if the offset or count parameter is negative or if the buffer parameter's length minus the offset parameter is less than or equal to zero.
ArgumentNullException, if the buffer parameter is null.