PhoneNumbersClient.StartSearchAvailablePhoneNumbers Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Busque números de teléfono disponibles para comprar.
public virtual Azure.Communication.PhoneNumbers.SearchAvailablePhoneNumbersOperation StartSearchAvailablePhoneNumbers (string twoLetterIsoCountryName, Azure.Communication.PhoneNumbers.PhoneNumberType phoneNumberType, Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType phoneNumberAssignmentType, Azure.Communication.PhoneNumbers.PhoneNumberCapabilities capabilities, Azure.Communication.PhoneNumbers.PhoneNumberSearchOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartSearchAvailablePhoneNumbers : string * Azure.Communication.PhoneNumbers.PhoneNumberType * Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType * Azure.Communication.PhoneNumbers.PhoneNumberCapabilities * Azure.Communication.PhoneNumbers.PhoneNumberSearchOptions * System.Threading.CancellationToken -> Azure.Communication.PhoneNumbers.SearchAvailablePhoneNumbersOperation
override this.StartSearchAvailablePhoneNumbers : string * Azure.Communication.PhoneNumbers.PhoneNumberType * Azure.Communication.PhoneNumbers.PhoneNumberAssignmentType * Azure.Communication.PhoneNumbers.PhoneNumberCapabilities * Azure.Communication.PhoneNumbers.PhoneNumberSearchOptions * System.Threading.CancellationToken -> Azure.Communication.PhoneNumbers.SearchAvailablePhoneNumbersOperation
Public Overridable Function StartSearchAvailablePhoneNumbers (twoLetterIsoCountryName As String, phoneNumberType As PhoneNumberType, phoneNumberAssignmentType As PhoneNumberAssignmentType, capabilities As PhoneNumberCapabilities, Optional options As PhoneNumberSearchOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As SearchAvailablePhoneNumbersOperation
Parámetros
- twoLetterIsoCountryName
- String
El código de país ISO 3166-2, por ejemplo, EE. UU.
- phoneNumberType
- PhoneNumberType
Tipo de números de teléfono que se van a buscar.
- phoneNumberAssignmentType
- PhoneNumberAssignmentType
Tipo de asignación de los números de teléfono que se van a buscar.
- capabilities
- PhoneNumberCapabilities
Funcionalidades de un número de teléfono.
- options
- PhoneNumberSearchOptions
Opciones de búsqueda de números de teléfono.
- cancellationToken
- CancellationToken
Token de cancelación que se va a usar.
Devoluciones
Excepciones
twoLetterIsoCountryName
es null.
Se aplica a
Azure SDK for .NET