CommunicationBlockingAccessManager.IsBlockedNumberAsync(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.
An asynchronous operation that returns whether or not a number is on the block list.
public:
static IAsyncOperation<bool> ^ IsBlockedNumberAsync(Platform::String ^ number);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<bool> IsBlockedNumberAsync(winrt::hstring const& number);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> IsBlockedNumberAsync(string number);
function isBlockedNumberAsync(number)
Public Shared Function IsBlockedNumberAsync (number As String) As IAsyncOperation(Of Boolean)
Parameters
- number
-
String
Platform::String
winrt::hstring
The number to check.
Returns
Asynchronously returns whether or not the number is blocked.
- Attributes