PhoneCallBlocking Klasse

Definition

Steuert das Blockieren von Telefonnummern, wenn sie empfangen werden.

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

Windows-Anforderungen

Gerätefamilie
Windows Mobile Extension SDK (eingeführt in 10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (eingeführt in v1.0)
App-Funktionen
phoneCallHistory phoneCallHistorySystem

Hinweise

Weitere Informationen zur Funktionsweise der Kommunikationsblockierung und zur Implementierung in Ihrer Anwendung finden Sie unter Windows.ApplicationModel.CommunicationBlocking.

Eigenschaften

BlockPrivateNumbers

Ruft ab oder legt fest, ob die PhoneCallBlocking-instance Privatnummern blockieren soll.

BlockUnknownNumbers

Ruft ab oder legt fest, ob das PhoneCallBlocking-instance unbekannte Nummern blockieren soll.

Methoden

SetCallBlockingListAsync(IIterable<String>)

Legt die Liste der Zahlen fest, die blockiert werden sollen.

Gilt für:

Weitere Informationen