MobileBroadbandDeviceServiceCommandSession.SendSetCommandAsync 方法

定义

在移动宽带设备服务上启动异步操作,以将 set 命令发送到命令会话。

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)

参数

commandId
UInt32

unsigned int

uint32_t

要执行的 set 命令的命令标识符。

data
IBuffer

要作为命令的一部分提交的数据。

返回

返回命令结果的异步操作。

属性

Windows 要求

应用功能
cellularDeviceControl cellularDeviceIdentity

适用于

另请参阅