DeviceConnectionChangeTrigger.MaintainConnection | maintainConnection property

Applies to Windows Phone only

Gets or sets whether the system should automatically attempt to keep the referenced device connected.

Syntax


var maintainConnection = deviceConnectionChangeTrigger.maintainConnection;
deviceConnectionChangeTrigger.maintainConnection = maintainConnection;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True of the system should try to keep the device connected; Otherwise, false. Default is false.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.ApplicationModel.Background
Windows::ApplicationModel::Background [C++]

Metadata

Windows.winmd

See also

DeviceConnectionChangeTrigger

 

 

Show:
© 2015 Microsoft