PhoneCallStore.IsEmergencyPhoneNumberAsync(String) 方法

定义

检查电话号码是否连接到已知的紧急服务提供商。

public:
 virtual IAsyncOperation<bool> ^ IsEmergencyPhoneNumberAsync(Platform::String ^ number) = IsEmergencyPhoneNumberAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<bool> IsEmergencyPhoneNumberAsync(winrt::hstring const& number);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<bool> IsEmergencyPhoneNumberAsync(string number);
function isEmergencyPhoneNumberAsync(number)
Public Function IsEmergencyPhoneNumberAsync (number As String) As IAsyncOperation(Of Boolean)

参数

number
String

Platform::String

winrt::hstring

要检查的电话号码,以查看它是否为已知的紧急号码。

返回

在成功完成 时返回布尔值的异步操作。 True 表示电话号码连接到已知的紧急服务提供商。

属性

Windows 要求

应用功能
phoneCallHistory phoneCallHistorySystem

适用于