PhoneCallBlocking Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Contrôle le blocage des numéros de téléphone à mesure qu’ils sont reçus.
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
- Héritage
- Attributs
Configuration requise pour Windows
| Famille d’appareils |
Windows Mobile Extension SDK (introduit dans 10.0.10240.0)
|
| API contract |
Windows.ApplicationModel.Calls.CallsPhoneContract (introduit dans v1.0)
|
| Fonctionnalités de l’application |
phoneCallHistory
phoneCallHistorySystem
|
Remarques
Pour plus d’informations sur le fonctionnement du blocage des communications et sur la façon de l’implémenter dans votre application, consultez Windows.ApplicationModel.CommunicationBlocking.
Propriétés
| BlockPrivateNumbers |
Obtient ou définit si le instance PhoneCallBlocking doit bloquer les numéros privés. |
| BlockUnknownNumbers |
Obtient ou définit si le instance PhoneCallBlocking doit bloquer des nombres inconnus. |
Méthodes
| SetCallBlockingListAsync(IIterable<String>) |
Définit la liste des nombres qui doivent être bloqués. |