TargetInvocationException.cs 681 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // System.Reflection.TargetInvocationException
  3. //
  4. // Sean MacIsaac ([email protected])
  5. // Duncan Mak ([email protected])
  6. //
  7. // (C) 2001 Ximian, Inc.
  8. using System.Runtime.Serialization;
  9. namespace System.Reflection
  10. {
  11. [Serializable]
  12. public sealed class TargetInvocationException : ApplicationException
  13. {
  14. public TargetInvocationException (Exception inner)
  15. : base ("Exception has been thrown by the target of an invocation.", inner)
  16. {
  17. }
  18. public TargetInvocationException (string message, Exception inner)
  19. : base (message, inner)
  20. {
  21. }
  22. internal TargetInvocationException (SerializationInfo info, StreamingContext sc)
  23. : base (info, sc)
  24. {
  25. }
  26. }
  27. }