Export (0) Print
Expand All

SafeArrayTypeMismatchException Class

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

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

System.Object
   System.Exception
      System.SystemException
         System.Runtime.InteropServices.SafeArrayTypeMismatchException

[Visual Basic]
<Serializable>
Public Class SafeArrayTypeMismatchException
   Inherits SystemException
[C#]
[Serializable]
public class SafeArrayTypeMismatchException : SystemException
[C++]
[Serializable]
public __gc class SafeArrayTypeMismatchException : public
   SystemException
[JScript]
public
   Serializable
class SafeArrayTypeMismatchException 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.

Remarks

SafeArrayTypeMismatchException uses the HRESULT COR_E_SAFEARRAYTYPEMISMATCH which has the value 0x80131533.

Requirements

Namespace: System.Runtime.InteropServices

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

Assembly: Mscorlib (in Mscorlib.dll)

See Also

SafeArrayTypeMismatchException Members | System.Runtime.InteropServices Namespace | Exception | Handling and Throwing Exceptions

Show:
© 2015 Microsoft