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

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class SafeArrayRankMismatchException : SystemException

Remarks

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.

Requirements

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