Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.19 KB

customdevice_trysendiocontrolasync_260174567.md

File metadata and controls

33 lines (23 loc) · 1.19 KB
-api-id -api-type
M:Windows.Devices.Custom.CustomDevice.TrySendIOControlAsync(Windows.Devices.Custom.IIOControlCode,Windows.Storage.Streams.IBuffer,Windows.Storage.Streams.IBuffer)
winrt method

Windows.Devices.Custom.CustomDevice.TrySendIOControlAsync

-description

Sends an IO control code. A return value indicates whether the operation succeeded.

-parameters

-param ioControlCode

The IO control code.

-param inputBuffer

The input buffer.

-param outputBuffer

The output buffer.

-returns

true if the operation is successful; otherwise, false.

-remarks

TrySendIOControlAsync is like SendIOControlAsync, except this method doesn't throw an exception if the operation fails. Instead, it returns false. If you want to handle any exceptions that occur during the operation, use the SendIOControlAsync method.

-examples

-see-also