共用方式為


PhoneLineTransportDevice.RequestAccessAsync 方法

定義

用來要求明確存取 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)

傳回

異步操作完成之後,會傳回 DeviceAccessStatus 列舉值。

屬性

Windows 需求

應用程式功能
phoneLineTransportManagement

適用於