Operations Extensions. Delete Async(ISnapshotOperations, Guid, CancellationToken) Method
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.
Delete an existing snapshot according to the snapshotId. All object data and information in the snapshot will also be deleted. Only the source subscription who took the snapshot can delete the snapshot. If the user does not delete a snapshot with this API, the snapshot will still be automatically deleted in 48 hours after creation.
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.ISnapshotOperations operations, Guid snapshotId, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.CognitiveServices.Vision.Face.ISnapshotOperations * Guid * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()> Public Function DeleteAsync (operations As ISnapshotOperations, snapshotId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Task
The operations group for this extension method.
Id referencing a particular snapshot.
The cancellation token.