SafeArrayRankMismatchException uses the HRESULT COR_E_SAFEARRAYRANKMISMATCH which has the value 0x80131538.
The rank of a SAFEARRAY is the number of dimensions in that array.
Initializes a new instance of the SafeArrayRankMismatchException class with the specified message.
Initializes a new instance of the SafeArrayRankMismatchException class with a specified error message and a reference to the inner exception that is the cause of this exception.