Share via


MobileBroadbandDeviceServiceCommandSession.SendSetCommandAsync Method

Definition

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

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

Parameters

commandId
UInt32

unsigned int

uint32_t

The command identifier for the set command to be executed.

data
IBuffer

The data to be submitted as part of the command.

Returns

An asynchronous operation that returns the result of the command.

Attributes

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to

See also