This documentation is archived and is not being maintained.

RankException Class

The exception that is thrown when an array with the wrong number of dimensions is passed to a method.

For a list of all members of this type, see RankException Members.


[Visual Basic]
Public Class RankException
   Inherits SystemException
public class RankException : SystemException
public __gc class RankException : public SystemException
class RankException extends SystemException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


RankException uses the HRESULT COR_E_RANK, that has the value 0x80131517.

For a list of initial property values for an instance of RankException, see the RankException constructors.


Namespace: System

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

RankException Members | System Namespace | Exception | Handling and Throwing Exceptions