Поделиться через


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

Возвращает или задает расположение вызывающего объекта.

Применяется к

См. также раздел