PhoneCallOrigin 类

定义

有关电话呼叫来源的信息集合。

注意

此类已弃用。

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
继承
Object Platform::Object IInspectable PhoneCallOrigin
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (在 v1.0 中引入)
应用功能
phoneCallHistory phoneCallHistorySystem

注解

版本历史记录

Windows 版本 SDK 版本 已添加值
1511 10586 DisplayName
1709 16299 DisplayPicture

构造函数

PhoneCallOrigin()

创建新的 PhoneCallOrigin 对象。

属性

Category

获取或设置调用方类别。

CategoryDescription

获取或设置调用方 类别的说明。

DisplayName

获取或设置 PhoneCallOriginManager 对象的显示名称。

DisplayPicture

获取或设置 PhoneCallOriginManager 对象的显示图片。

Location

获取或设置调用方的位置。

适用于

另请参阅