Delen via


AudioDeviceModule.SendCommandAsync(IBuffer) Method

Definition

Asynchronously sends data to the audio device module and receives the result.

public:
 virtual IAsyncOperation<ModuleCommandResult ^> ^ SendCommandAsync(IBuffer ^ Command) = SendCommandAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ModuleCommandResult> SendCommandAsync(IBuffer const& Command);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ModuleCommandResult> SendCommandAsync(IBuffer Command);
function sendCommandAsync(Command)
Public Function SendCommandAsync (Command As IBuffer) As IAsyncOperation(Of ModuleCommandResult)

Parameters

Command
IBuffer

A buffer containing the command data to send to the audio device module.

Returns

An asynchronous operation the returns a ModuleCommandResult upon successful completion.

Attributes

Applies to