MobileBroadbandDeviceServiceCommandSession.SendSetCommandAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在行動寬頻裝置服務上啟動非同步作業,以將集合命令傳送至命令會話。
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
|