System.Runtime.InteropServices.SafeArrayRankMismatchException Class

The exception thrown when the rank of an incoming SAFEARRAY does not match the rank specified in the managed signature.

See Also: SafeArrayRankMismatchException Members


public class SafeArrayRankMismatchException : SystemException


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.


Namespace: System.Runtime.InteropServices
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0,,