PhoneLine.DialWithResultAsync(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronously places a phone call on the line.
public:
virtual IAsyncOperation<PhoneLineDialResult ^> ^ DialWithResultAsync(Platform::String ^ number, Platform::String ^ displayName) = DialWithResultAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PhoneLineDialResult> DialWithResultAsync(winrt::hstring const& number, winrt::hstring const& displayName);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PhoneLineDialResult> DialWithResultAsync(string number, string displayName);
function dialWithResultAsync(number, displayName)
Public Function DialWithResultAsync (number As String, displayName As String) As IAsyncOperation(Of 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
An asynchronous operation object which, when it completes, contains a PhoneLineDialResult object representing the phone call dial status (result).
- Attributes
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
|