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