TargetParameterCountException.cs 810 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // System.Reflection.TargetParameterCountException.cs
  3. //
  4. // Author: Duncan Mak ([email protected])
  5. //
  6. // (C) Ximian, Inc. http://www.ximian.com
  7. //
  8. using System.Runtime.Serialization;
  9. using System.Globalization;
  10. namespace System.Reflection
  11. {
  12. [Serializable]
  13. public sealed class TargetParameterCountException : ApplicationException
  14. {
  15. public TargetParameterCountException ()
  16. : base (Locale.GetText ("Number of parameter does not match expected count."))
  17. {
  18. }
  19. public TargetParameterCountException (string message)
  20. : base (message)
  21. {
  22. }
  23. public TargetParameterCountException (string message, Exception inner)
  24. : base (message, inner)
  25. {
  26. }
  27. internal TargetParameterCountException (SerializationInfo info,
  28. StreamingContext context)
  29. : base (info, context)
  30. {
  31. }
  32. }
  33. }