BluetoothLEAdvertisementWatcherStoppedEventArgs 类

定义

BluetoothLEAdvertisementWatcher 上的已停止事件提供数据。 当 BluetoothLEAdvertisementWatcher 对象上发生 Stopped 事件时,将创建 BluetoothLEAdvertisementWatcherStoppedEventArgs 实例。

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

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 中引入)
应用功能
bluetooth

属性

Error

获取“ 已停止” 事件的错误状态。

适用于

另请参阅