Condividi tramite


MobileBroadbandDeviceServiceCommandSession.SendSetCommandAsync Metodo

Definizione

Avvia un'operazione asincrona in un servizio dispositivo a banda larga mobile per inviare un comando set alla sessione di comando.

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)

Parametri

commandId
UInt32

unsigned int

uint32_t

Identificatore di comando per l'esecuzione del comando set.

data
IBuffer

I dati da inviare come parte del comando.

Restituisce

Operazione asincrona che restituisce il risultato del comando.

Attributi

Requisiti Windows

Funzionalità dell'app
cellularDeviceControl cellularDeviceIdentity

Si applica a

Vedi anche