共用方式為


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()

撥打語音信箱存取號碼的通話。

適用於