BluetoothLEAdvertisementPublisher 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
BluetoothLEAdvertisementPublisher() |
创建新的 BluetoothLEAdvertisementPublisher 对象。 |
BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement) |
使用要发布的蓝牙 LE 播发创建新的 BluetoothLEAdvertisementPublisher 对象。 |
BluetoothLEAdvertisementPublisher()
创建新的 BluetoothLEAdvertisementPublisher 对象。
public:
BluetoothLEAdvertisementPublisher();
BluetoothLEAdvertisementPublisher();
public BluetoothLEAdvertisementPublisher();
function BluetoothLEAdvertisementPublisher()
Public Sub New ()
Windows 要求
应用功能 |
bluetooth
|
另请参阅
适用于
BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement)
使用要发布的蓝牙 LE 播发创建新的 BluetoothLEAdvertisementPublisher 对象。
public:
BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement ^ advertisement);
BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement const& advertisement);
public BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement advertisement);
function BluetoothLEAdvertisementPublisher(advertisement)
Public Sub New (advertisement As BluetoothLEAdvertisement)
参数
- advertisement
- BluetoothLEAdvertisement
要发布的蓝牙 LE 广告。
Windows 要求
应用功能 |
bluetooth
|
注解
对于无法使用 BluetoothLEAdvertisementPublisher 播发的某些系统保留数据类型,存在其他策略限制。 将拒绝包含这些数据类型的播发,并在调用 Start 方法时引发异常。