Share via


PhoneLineTransportDevice.ConnectAsync Method

Definition

Attempts to asynchronously establish a connection with the device.

public:
 virtual IAsyncOperation<bool> ^ ConnectAsync() = ConnectAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> ConnectAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> ConnectAsync();
function connectAsync()
Public Function ConnectAsync () As IAsyncOperation(Of Boolean)

Returns

An IAsyncOperation that represents the connection status once the operation completes. Contains true if connected, and false otherwise.

Attributes

Windows requirements

App capabilities
phoneLineTransportManagement

Applies to