TargetInvocationException.cs 679 B

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