/// <summary> /// Deletes a given file from the file system. /// </summary> /// <param name="virtualFilePath">The qualified path of the file to be created.</param> /// <exception cref="ArgumentNullException">If <paramref name="virtualFilePath"/> /// is a null reference.</exception> /// <exception cref="ResourceAccessException">In case of invalid or prohibited /// resource access.</exception> /// <exception cref="VirtualResourceNotFoundException">If the /// file does not exist.</exception> public override void DeleteFile(string virtualFilePath) { SecureAction(FileSystemTask.FileDeleteRequest, () => OperationService.DeleteFile(virtualFilePath), () => String.Format("Could not delete file [{0}] from file system.", virtualFilePath)); }