C # in a Nutshell, Second Edition

RankException CF 1.0, ECMA 1.0, serializable

System (mscorlib.dll) class

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

Hierarchy

Object Exception(System.Runtime.Serialization.ISerializable) SystemException RankException

Категории