MobileBroadbandDeviceServiceDataReceivedEventArgs 类

定义

在收到数据时,为 MobileBroadbandDeviceServiceDataSession 上的 DataReceived 事件提供数据。

注意

此功能仅适用于移动运营商应用和由移动网络运营商授予特权访问权限的 UWP 应用。

如果要使用此 API 并将应用发布到 Microsoft Store,则需要获得特殊批准。 有关详细信息,请参阅应用功能声明主题中的受限功能部分。

public ref class MobileBroadbandDeviceServiceDataReceivedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class MobileBroadbandDeviceServiceDataReceivedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class MobileBroadbandDeviceServiceDataReceivedEventArgs
Public NotInheritable Class MobileBroadbandDeviceServiceDataReceivedEventArgs
继承
Object Platform::Object IInspectable MobileBroadbandDeviceServiceDataReceivedEventArgs
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)
应用功能
cellularDeviceControl cellularDeviceIdentity

注解

收到数据后,当 DataReceived 事件发生在 MobileBroadbandDeviceServiceDataSession 上时,将创建 MobileBroadbandDeviceServiceDataReceivedEventArgs 实例。

属性

ReceivedData

获取在 MobileBroadbandDeviceServiceDataSession 上接收的数据。

适用于

另请参阅