コード例 #1
0
 public bool AddDirectory(Credentials c, MachineContents m, DirectoryContents d)
 {
     var cl = new Ref.FileSyncModelClient();
     try {
         bool result = false;
         result = cl.AddDirectory(c, m, d);
         cl.Close();
         return result;
     } catch (Exception ex) {
         cl.Abort();
         throw new ActionException("Unable to create a new directory in the database.",
             ActionType.Directory, MemeType.Fuuuuu, ex);
     }
 }