Share via


PhoneCallOrigin Class

Definition

A collection of information about the origin of a phone call.

Note

This class is deprecated.

public ref class PhoneCallOrigin sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.ApplicationModel.Calls.CallsPhoneContract)]
/// [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 PhoneCallOrigin final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
class PhoneCallOrigin final
/// [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)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
/// [Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
class PhoneCallOrigin final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.ApplicationModel.Calls.CallsPhoneContract))]
[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 PhoneCallOrigin
[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)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
public sealed class PhoneCallOrigin
[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)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
[Windows.Foundation.Metadata.Deprecated("PhoneCallOrigin is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
public sealed class PhoneCallOrigin
function PhoneCallOrigin()
Public NotInheritable Class PhoneCallOrigin
Inheritance
Object Platform::Object IInspectable PhoneCallOrigin
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v1.0)
App capabilities
phoneCallHistory phoneCallHistorySystem

Remarks

Version history

Windows version SDK version Value added
1511 10586 DisplayName
1709 16299 DisplayPicture

Constructors

PhoneCallOrigin()

Creates a new PhoneCallOrigin object.

Properties

Category

Gets or sets the category for the caller.

CategoryDescription

Gets or sets the description of the caller's Category.

DisplayName

Gets or sets the display name for the PhoneCallOriginManager object.

DisplayPicture

Gets or sets the display picture for the PhoneCallOriginManager object.

Location

Gets or sets the location of the caller.

Applies to