Share via


PhoneVoicemail Class

Definition

Represents the voice mail data associated with a PhoneLine instance.

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
Inheritance
Object Platform::Object IInspectable PhoneVoicemail
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

Properties

MessageCount

Get the current count of voice mail messages associated with the PhoneLine instance. A value of -1 indicates an "indeterminate" number of messages.

Number

Gets the access number for the voice mail associated with the PhoneLine instance. The phone user can dial the access number to access the voice mail account.

Type

Get the type of the voice mail associated with the PhoneLine instance.

Methods

DialVoicemailAsync()

Dials a call to the voice mail access number.

Applies to