DeviceConnectionChangeTrigger.CanMaintainConnection Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether the system can maintain a connection to the specified device.
public:
property bool CanMaintainConnection { bool get(); };
bool CanMaintainConnection();
public bool CanMaintainConnection { get; }
var boolean = deviceConnectionChangeTrigger.canMaintainConnection;
Public ReadOnly Property CanMaintainConnection As Boolean
Property Value
Boolean
bool
True if the system can maintain a connection to the specified device; Otherwise, false. If false, an attempt to register a trigger with MaintainConnection = true will throw an exception. The default value of this property is true for Bluetooth LE devices and false for all other device types.