[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Writes a block of bytes to this stream using data from a buffer.
Assembly: mscorlib (in mscorlib.dll)
array is null.
offset and count describe an invalid range in array.
offset or count is negative.
An I/O error occurs.
- or -
Another thread may have caused an unexpected change in the position of the operating system's file handle.
The stream is closed.
The current stream instance does not support writing.