Share via


UsbInterfaceSetting.SelectSettingAsync Method

Definition

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.

Applies to