共用方式為


MobileBroadbandDeviceServiceCommandSession.SendSetCommandAsync 方法

定義

在行動寬頻裝置服務上啟動非同步作業,以將集合命令傳送至命令會話。

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

適用於

另請參閱