PhoneDialer.Open(String) Method

Definition

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