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 method RankException();  
   public method RankException(string message);  
   public method RankException(string message, 
        Exception innerException);  
// Protected Constructors
   protected method RankException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionRankException

Get C# in a Nutshell 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.