UsbInterfaceSetting.SelectSettingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Selects the alternate setting as the current setting in the USB interface.
public:
virtual IAsyncAction ^ SelectSettingAsync() = SelectSettingAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SelectSettingAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SelectSettingAsync();
function selectSettingAsync()
Public Function SelectSettingAsync () As IAsyncAction
Returns
An IAsyncAction object that is used to control the asynchronous operation.
- Attributes
Remarks
SelectSettingAsync disables the endpoints of the previous alternate setting and removes the pipes associated with them from the UsbInterface object. The method enables the endpoints of this setting, and adds the associated pipes to the UsbInterface object.