PhoneLine.Dial(String, String) Method

Definition

Place a phone call on the phone line. The caller must be in the foreground.

public:
 virtual void Dial(Platform::String ^ number, Platform::String ^ displayName) = Dial;
void Dial(winrt::hstring const& number, winrt::hstring const& displayName);
public void Dial(string number, string displayName);
function dial(number, displayName)
Public Sub Dial (number As String, displayName As String)

Parameters

number
String

Platform::String

winrt::hstring

The number to dial.

displayName
String

Platform::String

winrt::hstring

The display name of the party receiving the phone call. This parameter is optional.

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Remarks

In order to use this method, the PhoneLine instance needs to support outbound calls. Use CanDial to verify whether or not that is supported.

Applies to