PhoneVoicemail 类

定义

表示与 PhoneLine 实例关联的语音邮件数据。

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

Windows 要求

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

属性

MessageCount

获取与 PhoneLine 实例关联的语音邮件的当前计数。 值 -1 表示“不确定”的消息数。

Number

获取与 PhoneLine 实例关联的语音邮件的访问号码。 电话用户可以拨打访问号码来访问语音邮件帐户。

Type

获取与 PhoneLine 实例关联的语音邮件的类型。

方法

DialVoicemailAsync()

拨打语音邮件访问号码的呼叫。

适用于