Type Summary

						public class ArrayTypeMismatchException : SystemException
 {
   // Constructors
      public ArrayTypeMismatchException ();
      public ArrayTypeMismatchException (string message);
      public ArrayTypeMismatchException (string message,
                                         Exception innerException);
MS CF
						protected ArrayTypeMismatchException (SerializationInfo info,
                                            StreamingContext context);
 }

BA It is interesting to look at the exceptions that are only thrown by the runtime, such as ArrayTypeMismatchException, NullReferenceException, and ExecutionEngionException. Even though we did not expect these exceptions to be thrown by user code, we included the standard constructors. We believe that consistency is the overriding principle in this case; therefore, we did not force ourselves ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.