OptOutsClient.Remove 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.
Opts in to
phone numbers to receive SMS from from
phone number.
public virtual Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.Sms.Models.OptOutRemoveResponseItem>> Remove (string from, System.Collections.Generic.IEnumerable<string> to, System.Threading.CancellationToken cancellationToken = default);
abstract member Remove : string * seq<string> * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.Sms.Models.OptOutRemoveResponseItem>>
override this.Remove : string * seq<string> * System.Threading.CancellationToken -> Azure.Response<System.Collections.Generic.IReadOnlyList<Azure.Communication.Sms.Models.OptOutRemoveResponseItem>>
Public Overridable Function Remove (from As String, to As IEnumerable(Of String), Optional cancellationToken As CancellationToken = Nothing) As Response(Of IReadOnlyList(Of OptOutRemoveResponseItem))
Parameters
- from
- String
The sender's phone number that is owned by the authenticated account.
- to
- IEnumerable<String>
The recipient's phone number which should be opted in.
- cancellationToken
- CancellationToken
The cancellation token for the task.
Returns
Exceptions
The server returned an error. See Message for details returned from the server.
to
is null.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET