Amazon.Glacier.Transfer.ArchiveTransferManager.DeleteVaultAsync C# (CSharp) Méthode

DeleteVaultAsync() public méthode

Deletes the specified vault. Before deletion, the vault must be empty of all archives.
public DeleteVaultAsync ( string vaultName ) : System.Threading.Task
vaultName string The name of the vault to delete.
Résultat System.Threading.Task
        public Task DeleteVaultAsync(string vaultName)
        {
            DeleteVaultRequest request = new DeleteVaultRequest() { VaultName = vaultName };
            ((Amazon.Runtime.Internal.IAmazonWebServiceRequest)request).AddBeforeRequestHandler(new UserAgentPostFix("DeleteVault").UserAgentRequestEventHandlerSync);
            return this.glacierClient.DeleteVaultAsync(request);
        }