Share via


CommunicationBlockingAccessManager Klasse

Definition

Der Manager, der dafür verantwortlich ist, blockierte Nummern nachzuverfolgen und die entsprechenden blockierenden Benutzeroberflächen anzuzeigen.

public ref class CommunicationBlockingAccessManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CommunicationBlockingAccessManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class CommunicationBlockingAccessManager
Public Class CommunicationBlockingAccessManager
Vererbung
Object Platform::Object IInspectable CommunicationBlockingAccessManager
Attribute

Windows-Anforderungen

Gerätefamilie
Windows Mobile Extension SDK (eingeführt in 10.0.10240.0)
API contract
Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract (eingeführt in v1.0)

Eigenschaften

IsBlockingActive

Ruft ab, ob die Blockierung derzeit aktiviert ist.

Methoden

IsBlockedNumberAsync(String)

Ein asynchroner Vorgang, der zurückgibt, ob eine Zahl in der Blockliste enthalten ist oder nicht.

ShowBlockedCallsUI()

Zeigt die Liste der blockierten Anrufe an.

ShowBlockedMessagesUI()

Zeigt die Liste der blockierten Nachrichten an.

ShowBlockNumbersUI(IIterable<String>)

Startet eine Benutzeroberfläche, um Zahlen zu blockieren, wenn es als aktive blockierende App vorhanden ist.

ShowUnblockNumbersUI(IIterable<String>)

Startet die App, um die Blockierung von Zahlen aufzuheben, wenn es sich um eine aktive blockierende App handelt.

Gilt für: