Share via


DeviceConnectionChangeTrigger.CanMaintainConnection Property

Definition

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.

Applies to