Condividi tramite


PhoneCallBlockedTriggerDetails Classe

Definizione

Usato per fornire i dettagli relativi a una chiamata appena bloccata.

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
Ereditarietà
Object Platform::Object IInspectable PhoneCallBlockedTriggerDetails
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Mobile Extension SDK (è stato introdotto in 10.0.10240.0)
Windows Desktop Extension SDK (è stato introdotto in 10.0.10586.0)
Windows Mobile Extension SDK (è stato introdotto in 10.0.10586.0)
Windows 10, version 1809 (è stato introdotto in 10.0.17763.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (è stato introdotto in v1.0)
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (è stato introdotto in v1.0)
Funzionalità dell'app
phoneCallHistory phoneCallHistorySystem

Proprietà

CallBlockedReason

Ottiene il motivo per cui una chiamata telefonica è stata bloccata.

LineId

Ottiene l'ID della chiamata telefonica appena bloccata.

PhoneNumber

Ottiene il numero di telefono della chiamata bloccata.

Si applica a