MobileBroadbandDeviceServiceCommandSession.SendQueryCommandAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在行動寬頻裝置服務上啟動非同步作業,以將查詢命令傳送至命令會話。
public:
virtual IAsyncOperation<MobileBroadbandDeviceServiceCommandResult ^> ^ SendQueryCommandAsync(unsigned int commandId, IBuffer ^ data) = SendQueryCommandAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<MobileBroadbandDeviceServiceCommandResult> SendQueryCommandAsync(uint32_t const& commandId, IBuffer const& data);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<MobileBroadbandDeviceServiceCommandResult> SendQueryCommandAsync(uint commandId, IBuffer data);
function sendQueryCommandAsync(commandId, data)
Public Function SendQueryCommandAsync (commandId As UInteger, data As IBuffer) As IAsyncOperation(Of MobileBroadbandDeviceServiceCommandResult)
參數
- commandId
-
UInt32
unsigned int
uint32_t
要執行之查詢命令的命令識別碼。
- data
- IBuffer
要提交為命令一部分的資料。
傳回
傳回命令結果的非同步作業。
- 屬性
Windows 需求
應用程式功能 |
cellularDeviceControl
cellularDeviceIdentity
|