MobileBroadbandDeviceServiceCommandSession.SendQueryCommandAsync Method

Definition

Starts an asynchronous operation on a mobile broadband device service to send a query command to the command session.

public:
 virtual IAsyncOperation<MobileBroadbandDeviceServiceCommandResult ^> ^ SendQueryCommandAsync(unsigned int commandId, IBuffer ^ data) = SendQueryCommandAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MobileBroadbandDeviceServiceCommandResult> SendQueryCommandAsync(uint32_t const& commandId, IBuffer const& data);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MobileBroadbandDeviceServiceCommandResult> SendQueryCommandAsync(uint commandId, IBuffer data);
function sendQueryCommandAsync(commandId, data)
Public Function SendQueryCommandAsync (commandId As UInteger, data As IBuffer) As IAsyncOperation(Of MobileBroadbandDeviceServiceCommandResult)

Parameters

commandId
UInt32

uint32_t

The command identifier for the query command to be executed.

data
IBuffer

The data to be submitted as part of the command.

Returns

IAsyncOperation<MobileBroadbandDeviceServiceCommandResult>

An asynchronous operation that returns the result of the command.

Attributes

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to

See also