Compartir a través de


PhoneNumbersClient.StartUpdateCapabilities Método

Definición

Novedades las funcionalidades de un número de teléfono.

public virtual Azure.Communication.PhoneNumbers.UpdatePhoneNumberCapabilitiesOperation StartUpdateCapabilities(string phoneNumber, Azure.Communication.PhoneNumbers.PhoneNumberCapabilityType? calling = default, Azure.Communication.PhoneNumbers.PhoneNumberCapabilityType? sms = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartUpdateCapabilities : string * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberCapabilityType> * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberCapabilityType> * System.Threading.CancellationToken -> Azure.Communication.PhoneNumbers.UpdatePhoneNumberCapabilitiesOperation
override this.StartUpdateCapabilities : string * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberCapabilityType> * Nullable<Azure.Communication.PhoneNumbers.PhoneNumberCapabilityType> * System.Threading.CancellationToken -> Azure.Communication.PhoneNumbers.UpdatePhoneNumberCapabilitiesOperation
Public Overridable Function StartUpdateCapabilities (phoneNumber As String, Optional calling As Nullable(Of PhoneNumberCapabilityType) = Nothing, Optional sms As Nullable(Of PhoneNumberCapabilityType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As UpdatePhoneNumberCapabilitiesOperation

Parámetros

phoneNumber
String

Identificador del número de teléfono en formato E.164. El signo más inicial puede ser + o codificado como %2B, por ejemplo, +14255550123.

calling
Nullable<PhoneNumberCapabilityType>

Valor de funcionalidad para llamar a .

sms
Nullable<PhoneNumberCapabilityType>

Valor de funcionalidad para SMS.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

phoneNumber es null.

Se aplica a