示例#1
0
 public void Dump(DumpData data)
 {
     try {
         DumpResultObject(ResultObject.Create(data.Object, data.Quotas, data.Header));
     }
     catch (Exception ex) {
         try {
             Console.WriteLine("Error during Dump: " + ex.Message);
         }
         catch {
             // ignore
         }
     }
 }
示例#2
0
        public void Dump(DumpData data)
        {
            if (!CanDump())
            {
                return;
            }

            try {
                DumpResultObject(ResultObject.Create(data.Object, data.Quotas, data.Header));
            }
            catch (Exception ex) {
                try {
                    DumpMessage("Error during Dump: " + ex.Message);
                }
                catch {
                    // ignore
                }
            }
        }