Share via


CommunicationBlockingAccessManager.IsBlockedNumberAsync(String) Method

Definition

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

Applies to