Compartir a través de


PersonDirectoryExtensions.DeletePersonAsync Método

Definición

Sobrecargas

DeletePersonAsync(IPersonDirectory, Guid, CancellationToken)
DeletePersonAsync(IPersonDirectory, String, CancellationToken)
Obsoletos.

DeletePersonAsync(IPersonDirectory, Guid, CancellationToken)

Source:
PersonDirectoryExtensions.cs
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonHeaders> DeletePersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, Guid personId, System.Threading.CancellationToken cancellationToken = default);
static member DeletePersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonHeaders>
<Extension()>
Public Function DeletePersonAsync (operations As IPersonDirectory, personId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryDeletePersonHeaders)

Parámetros

operations
IPersonDirectory
personId
Guid
cancellationToken
CancellationToken

Devoluciones

Se aplica a

DeletePersonAsync(IPersonDirectory, String, CancellationToken)

Source:
PersonDirectoryExtensions.cs

Precaución

Method is being deprecated, consider using other overloads.

[System.Obsolete("Method is being deprecated, consider using other overloads.", false)]
public static System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonHeaders> DeletePersonAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory operations, string personId, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("Method is being deprecated, consider using other overloads.", false)>]
static member DeletePersonAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IPersonDirectory * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.CognitiveServices.Vision.Face.Models.PersonDirectoryDeletePersonHeaders>
<Extension()>
Public Function DeletePersonAsync (operations As IPersonDirectory, personId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PersonDirectoryDeletePersonHeaders)

Parámetros

operations
IPersonDirectory
personId
String
cancellationToken
CancellationToken

Devoluciones

Atributos

Se aplica a