TextRequestClient.DeleteContactAsync(Int32, String, CancellationToken) 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.
Deletes the contact with the specified phone number
public virtual System.Threading.Tasks.Task<string> DeleteContactAsync(int idOfTheDashboardToMakeThisCallOn, string phoneNumberOfContact, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteContactAsync : int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.DeleteContactAsync : int * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Public Overridable Function DeleteContactAsync (idOfTheDashboardToMakeThisCallOn As Integer, phoneNumberOfContact As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of String)
Parameters
- idOfTheDashboardToMakeThisCallOn
- Int32
Id of the dashboard to make this call on
- phoneNumberOfContact
- String
Phone Number of contact
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The Deletes the contact with the specified phone number response.
Remarks
Deletes the contact with the specified phone number