WriteAsync Method

Stream.WriteAsync Method

.NET Framework (current version)
 

Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodWriteAsync(Byte[], Int32, Int32)

Asynchronously writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

System_CAPS_pubmethodWriteAsync(Byte[], Int32, Int32, CancellationToken)

Asynchronously writes a sequence of bytes to the current stream, advances the current position within this stream by the number of bytes written, and monitors cancellation requests.

Return to top
Show:
© 2016 Microsoft