Exception, InnerException

Olusan bütün hatalari görülmesi ve izlenmesi için izlenilmesi gereken yöntem..

  1. catch(Exception ex)
  2. {
  3. string errMessage = "";
  4. for( Exception tempException = ex; tempException != null ; tempException = tempException.InnerException )
  5. {
  6. errMessage += tempException.Message + Environment.NewLine + Environment.NewLine;
  7. }
  8. }


paylasim için Ferit Arslan tesekkürler...

continue >>
Page 1 of 1   1