Name
RankException
Synopsis
This exception signals an attempt
to send an array of the wrong rank to
a method. For example, this exception is thrown when you pass a
multidimensional array to Array.Sort( )
or
Array.Reverse( )
.
public class RankException : SystemException { // Public Constructors public RankException( ); public RankException(stringmessage
); public RankException(stringmessage
, ExceptioninnerException
); // Protected Constructors protected RankException(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization. StreamingContextcontext
); }
Hierarchy
Object
→
Exception(System.Runtime.Serialization.ISerializable)
→
SystemException
→
RankException
Get C# in a Nutshell, Second Edition 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.