PhoneNumberIdentifier(String, String) Constructor
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.
Initializes a new instance of PhoneNumberIdentifier.
public PhoneNumberIdentifier (string phoneNumber, string rawId = default);
new Azure.Communication.PhoneNumberIdentifier : string * string -> Azure.Communication.PhoneNumberIdentifier
Public Sub New (phoneNumber As String, Optional rawId As String = Nothing)
Parameters
- phoneNumber
- String
The phone number in E.164 format.
- rawId
- String
Raw id of the phone number, optional.
Exceptions
Thrown when the phoneNumber
is null.
Thrown when the phoneNumber
is empty.