Exemplo n.º 1
0
 /// <summary>
 /// Gets all child folders of a given folder.
 /// </summary>
 /// <param name="parentFolderPath">The <see cref="VirtualResourceInfo.FullName"/>, which
 /// identifies the parent folder within the file system.</param>
 /// <returns>The child folders of the folder.</returns>
 /// <exception cref="ArgumentNullException">If <paramref name="parentFolderPath"/>
 /// is a null reference.</exception>
 /// <exception cref="VirtualResourceNotFoundException">If the folder that is represented
 /// by <paramref name="parentFolderPath"/> does not exist in the file system.</exception>
 /// <exception cref="ResourceAccessException">In case of invalid or prohibited
 /// resource access.</exception>
 public override IEnumerable <VirtualFolderInfo> GetChildFolders(string parentFolderPath)
 {
     return(SecureFunc(FileSystemTask.ChildFoldersRequest, () => OperationService.GetChildFolders(parentFolderPath),
                       () => String.Format("Could not get child folders of folder [{0}].", parentFolderPath)));
 }