Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 904 Bytes

streamsocketlistener_cancelioasync_169683529.md

File metadata and controls

28 lines (18 loc) · 904 Bytes
-api-id -api-type
M:Windows.Networking.Sockets.StreamSocketListener.CancelIOAsync
winrt method

Windows.Networking.Sockets.StreamSocketListener.CancelIOAsync

-description

Cancels pending reads and writes over a StreamSocketListener object.

-returns

An asynchronous cancel operation on a StreamSocketListener object.

-remarks

Call CancelIOAsync to cancel any pending reads or writes on this socket before you call TransferOwnership when your app is about to be suspended.

Note

CancelIOAsync cancels pending writes and reads in the Windows Runtime, but if there is a write buffer pending in networking drivers, it flushes the write.

-examples

-see-also