Share via


PhoneLineTransportDevice.RequestAccessAsync Method

Definition

Used to request explicit access to the PhoneLineTransportDevice.

public:
 virtual IAsyncOperation<DeviceAccessStatus> ^ RequestAccessAsync() = RequestAccessAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<DeviceAccessStatus> RequestAccessAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<DeviceAccessStatus> RequestAccessAsync();
function requestAccessAsync()
Public Function RequestAccessAsync () As IAsyncOperation(Of DeviceAccessStatus)

Returns

After the asynchronous operation completes, returns a DeviceAccessStatus enumeration value.

Attributes

Windows requirements

App capabilities
phoneLineTransportManagement

Applies to