PhoneDialer.Open(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.
Open the phone dialer to a specific phone number.
public:
static void Open(System::String ^ number);
public static void Open (string number);
static member Open : string -> unit
Public Shared Sub Open (number As String)
Parameters
- number
- String
Phone number to initialize the dialer with.
Exceptions
Thrown if number
is not valid.
Thrown if making phone calls is not supported on the device.
Remarks
Will throw ArgumentNullException if number
is not valid. Will throw FeatureNotSupportedException if making phone calls is not supported on the device.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.