Dela via


BluetoothLEAdvertisementPublisher Constructors

Definition

Overloads

BluetoothLEAdvertisementPublisher()

Creates a new BluetoothLEAdvertisementPublisher object.

BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement)

Creates a new BluetoothLEAdvertisementPublisher object with the Bluetooth LE advertisement to publish.

BluetoothLEAdvertisementPublisher()

Creates a new BluetoothLEAdvertisementPublisher object.

public:
 BluetoothLEAdvertisementPublisher();
 BluetoothLEAdvertisementPublisher();
public BluetoothLEAdvertisementPublisher();
function BluetoothLEAdvertisementPublisher()
Public Sub New ()

Windows requirements

App capabilities
bluetooth

See also

Applies to

BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement)

Creates a new BluetoothLEAdvertisementPublisher object with the Bluetooth LE advertisement to publish.

public:
 BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement ^ advertisement);
 BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement const& advertisement);
public BluetoothLEAdvertisementPublisher(BluetoothLEAdvertisement advertisement);
function BluetoothLEAdvertisementPublisher(advertisement)
Public Sub New (advertisement As BluetoothLEAdvertisement)

Parameters

advertisement
BluetoothLEAdvertisement

The Bluetooth LE advertisement to publish.

Windows requirements

App capabilities
bluetooth

Remarks

There are additional policy restrictions on certain system-reserved data types that cannot be advertised through using the BluetoothLEAdvertisementPublisher. Advertisement containing these data types will be rejected and an exception will be thrown when the Start method is called.

See also

Applies to