PhoneCallStore.IsEmergencyPhoneNumberAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Checks to see if a phone number connects to a known emergency services provider.
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)
Parameters
- number
-
String
Platform::String
winrt::hstring
The phone number to check to see if it is a known emergency number.
Returns
An asynchronous operation that returns a boolean on successful completion . True indicates that the phone number connects to a known emergency services provider.
- Attributes
Windows requirements
App capabilities |
phoneCallHistory
phoneCallHistorySystem
|