Delen via


MobileBroadbandDeviceService Class

Definition

Represents a mobile broadband device service.

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 MobileBroadbandDeviceService sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MobileBroadbandDeviceService final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MobileBroadbandDeviceService
Public NotInheritable Class MobileBroadbandDeviceService
Inheritance
Object Platform::Object IInspectable MobileBroadbandDeviceService
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

The GetDeviceService method on the MobileBroadbandModem gets a specific device service for the mobile broadband modem.

Properties

DeviceServiceId

Gets the unique device service identity for the mobile broadband device service.

SupportedCommands

Gets a list of supported device service commands for the mobile broadband device service.

Methods

OpenCommandSession()

Opens a new MobileBroadbandDeviceServiceCommandSession for the mobile broadband device service.

OpenDataSession()

Opens a new MobileBroadbandDeviceServiceDataSession for the mobile broadband device service.

Applies to

See also