Delen via


MobileBroadbandDeviceServiceCommandResult Class

Definition

Represents the result of a mobile broadband device service command.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public ref class MobileBroadbandDeviceServiceCommandResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MobileBroadbandDeviceServiceCommandResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MobileBroadbandDeviceServiceCommandResult
Public NotInheritable Class MobileBroadbandDeviceServiceCommandResult
Inheritance
Object Platform::Object IInspectable MobileBroadbandDeviceServiceCommandResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

A MobileBroadbandDeviceServiceCommandResult instance is created when the SendQueryCommandAsync or SendSetCommandAsync method is called on the MobileBroadbandDeviceServiceCommandSession and the result of the command has been received.

Properties

ResponseData

Gets the response data from the command execution on a mobile broadband device service.

StatusCode

Gets the status code of the command execution on a mobile broadband device service.

Applies to

See also