Compartilhar via


PhoneCallBlockedTriggerDetails Classe

Definição

Usado para fornecer os detalhes sobre uma chamada que acabou de ser bloqueada.

public ref class PhoneCallBlockedTriggerDetails 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 PhoneCallBlockedTriggerDetails final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 65536)]
/// [Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 131072)]
class PhoneCallBlockedTriggerDetails final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract, 65536)]
/// [Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 196608)]
class PhoneCallBlockedTriggerDetails 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 sealed class PhoneCallBlockedTriggerDetails
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 65536)]
[Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 131072)]
public sealed class PhoneCallBlockedTriggerDetails
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.Background.CallsBackgroundContract), 65536)]
[Windows.Foundation.Metadata.PreviousContractVersion("Windows.ApplicationModel.Calls.CallsPhoneContract", 65536, 196608)]
public sealed class PhoneCallBlockedTriggerDetails
Public NotInheritable Class PhoneCallBlockedTriggerDetails
Herança
Object Platform::Object IInspectable PhoneCallBlockedTriggerDetails
Atributos

Requisitos do Windows

Família de dispositivos
Windows Mobile Extension SDK (introduzida na 10.0.10240.0)
Windows Desktop Extension SDK (introduzida na 10.0.10586.0)
Windows Mobile Extension SDK (introduzida na 10.0.10586.0)
Windows 10, version 1809 (introduzida na 10.0.17763.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduzida na v1.0)
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (introduzida na v1.0)
Funcionalidades do aplicativo
phoneCallHistory phoneCallHistorySystem

Propriedades

CallBlockedReason

Obtém o motivo pelo qual uma chamada telefônica foi bloqueada.

LineId

Obtém a ID da chamada telefônica que acabou de ser bloqueada.

PhoneNumber

Obtém o número de telefone da chamada bloqueada.

Aplica-se a