Dela via


PhoneLineChangedTriggerDetails Class

Definition

Used to provide the details about a change to the properties of a phone line.

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
Inheritance
Object Platform::Object IInspectable PhoneLineChangedTriggerDetails
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
Windows Desktop Extension SDK (introduced in 10.0.10586.0)
Windows Mobile Extension SDK (introduced in 10.0.10586.0)
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v1.0)
Windows.ApplicationModel.Calls.Background.CallsBackgroundContract (introduced in v1.0)
App capabilities
phoneCallHistory phoneCallHistorySystem

Properties

ChangeType

Gets a PhoneLineChangeKind value that indicates if the phone line was added, removed, or changed.

LineId

Gets the ID of the phone line that was added, removed, or changed.

Methods

HasLinePropertyChanged(PhoneLineProperties)

Checks a phone line against a set of flags to see if any of the specified properties of the phone line have changed.

Applies to