Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 1.33 KB

datawriter.md

File metadata and controls

26 lines (16 loc) · 1.33 KB
-api-id -api-type
T:Windows.Storage.Streams.DataWriter
winrt class

Windows.Storage.Streams.DataWriter

-description

Writes data to an output stream.

-remarks

Instances of DataWriter objects do not support concurrent writes. If an application concurrently writes or detaches a stream from a DataWriter instance that is being written to the call to the object will fail with the error HRESULT_FROM_WIN32(ERROR_INVALID_OPERATION).

-examples

See the code example in the DataReader topic.

-see-also

Serializing and deserializing data sample (Windows 10), File access sample (Windows 10), DatagramSocket sample (Windows 10), StreamSocket sample (Windows 10), Custom USB device sample (Windows 10), DataReader, DataWriterStoreOperation