MobileBroadbandDeviceServiceCommandSession.SendSetCommandAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在移动宽带设备服务上启动异步操作,以将 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
|