Ejemplo n.º 1
0
 /// <summary>
 /// Gets meta data about a given folder which is identified
 /// by its path within the file system.
 /// </summary>
 /// <param name="virtualFolderPath">Path information that allows
 /// the provider to identify the requested resource.</param>
 /// <returns>A <see cref="VirtualFolderInfo"/> instance which provides
 /// meta data about the folder.</returns>
 /// <exception cref="VirtualResourceNotFoundException">If the folder cannot
 /// be found.</exception>
 /// <exception cref="ResourceAccessException">If the user does not have
 /// permission to access this resource.</exception>
 public override VirtualFolderInfo GetFolderInfo(string virtualFolderPath)
 {
     return(SecureFunc(FileSystemTask.FolderInfoRequest, () => OperationService.GetFolderInfo(virtualFolderPath),
                       () => String.Format("Could not get meta data for folder [{0}].", virtualFolderPath)));
 }