CopyToAsync Method

IsolatedStorageFileStream.CopyToAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Asynchronously reads the bytes from the current stream and writes them to another stream.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method CopyToAsync(Stream) Asynchronously reads the bytes from the current stream and writes them to another stream. (Inherited from Stream.)
Public method CopyToAsync(Stream, Int32) Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size. (Inherited from Stream.)
Public method CopyToAsync(Stream, Int32, CancellationToken) Asynchronously reads the bytes from the current stream and writes them to another stream, using a specified buffer size and cancellation token. (Inherited from Stream.)
Top

Show:
© 2017 Microsoft