Пример #1
0
 /// <summary>
 /// Creates a qualified name that can be used as an identifier
 /// for a given folder of the file system.
 /// </summary>
 /// <param name="parentFolder">The qualified name of the parent
 /// folder.</param>
 /// <param name="folderName">The name of the child folder.</param>
 /// <returns>An qualified path name for the submitted
 /// <paramref name="folderName"/>.</returns>
 public override string CreateFolderPath(string parentFolder, string folderName)
 {
     return(SecureFunc(FileSystemTask.CreateFolderPathRequest,
                       () => OperationService.CreateFolderPath(parentFolder, folderName),
                       () =>
                       String.Format("Could not get a folder path for parent folder [{0}] and folder name [{1}].",
                                     parentFolder, folderName)));
 }