PhoneLineChangedTriggerDetails 类

定义

用于提供有关更改电话线路属性的详细信息。

public ref class PhoneLineChangedTriggerDetails 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 PhoneLineChangedTriggerDetails 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 PhoneLineChangedTriggerDetails 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 PhoneLineChangedTriggerDetails 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 PhoneLineChangedTriggerDetails
[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 PhoneLineChangedTriggerDetails
[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 PhoneLineChangedTriggerDetails
Public NotInheritable Class PhoneLineChangedTriggerDetails
继承
Object Platform::Object IInspectable PhoneLineChangedTriggerDetails
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
Windows Desktop Extension SDK (在 10.0.10586.0 中引入)
Windows Mobile Extension SDK (在 10.0.10586.0 中引入)
Windows 10, version 1809 (在 10.0.17763.0 中引入)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (在 v1.0 中引入)
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (在 v1.0 中引入)
应用功能
phoneCallHistory phoneCallHistorySystem

属性

ChangeType

获取一个 PhoneLineChangeKind 值,该值指示是添加、删除或更改电话线路。

LineId

获取已添加、删除或更改的电话线路的 ID。

方法

HasLinePropertyChanged(PhoneLineProperties)

根据一组标志检查电话线路,以查看电话线路的任何指定属性是否已更改。

适用于