Share via


PhoneLine.DialWithResult(String, String) Method

Definition

Places a phone call on the line.

public:
 virtual PhoneLineDialResult ^ DialWithResult(Platform::String ^ number, Platform::String ^ displayName) = DialWithResult;
PhoneLineDialResult DialWithResult(winrt::hstring const& number, winrt::hstring const& displayName);
public PhoneLineDialResult DialWithResult(string number, string displayName);
function dialWithResult(number, displayName)
Public Function DialWithResult (number As String, displayName As String) As PhoneLineDialResult

Parameters

number
String

Platform::String

winrt::hstring

The number to call.

displayName
String

Platform::String

winrt::hstring

The display name of the callee.

Returns

A PhoneLineDialResult object representing the phone call dial status (result).

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v6.0)
App capabilities
phoneCall

Applies to