PhoneNumbersModelFactory.PhoneNumberCountry(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.
Initializes a new instance of PhoneNumberCountry.
public static Azure.Communication.PhoneNumbers.PhoneNumberCountry PhoneNumberCountry (string localizedName = default, string countryCode = default);
static member PhoneNumberCountry : string * string -> Azure.Communication.PhoneNumbers.PhoneNumberCountry
Public Shared Function PhoneNumberCountry (Optional localizedName As String = Nothing, Optional countryCode As String = Nothing) As PhoneNumberCountry
Parameters
- localizedName
- String
Represents the name of the country.
- countryCode
- String
Represents the abbreviated name of the country.
Returns
A new PhoneNumberCountry instance for mocking.
Exceptions
localizedName
or countryCode
is null.
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.
Azure SDK for .NET