Ejemplo n.º 1
0
 public musicdata[] getall()
 {
     try
     {
         return(getdata().ToArray());
     }
     catch (OutOfMemoryException ex)
     {
         fauloutofmemory f = new fauloutofmemory();
         f.lydo = ex.Message;
         throw new FaultException <fauloutofmemory>(f);
     }
 }
Ejemplo n.º 2
0
 public musicdata[] getall()
 {
     try
     {
         return getdata().ToArray();
     }
     catch (OutOfMemoryException ex)
     {
         fauloutofmemory f = new fauloutofmemory();
         f.lydo = ex.Message;
         throw new FaultException<fauloutofmemory>(f);
     }
 }