-api-id | -api-type |
---|---|
M:Windows.ApplicationModel.Calls.PhoneLine.FromIdAsync(System.Guid) |
winrt method |
This static method asynchronously retrieves a PhoneLine object that represents a specific phone line on the device based on the line ID.
The line ID of the phone line to retrieve.
An asynchronous operation that returns a PhoneLine object that represents a specific phone line on the device based on the line ID. It will throw an exception on failure.
The following example shows how to get the default PhoneLine.
[!code-csharpGetDefaultLine]
phoneCallHistory, phoneCallHistorySystem