Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

InvalidOleVariantTypeException Class

The exception thrown by the marshaler when it encounters an argument of a variant type that can not be marshaled to managed code.

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


[Visual Basic]
Public Class InvalidOleVariantTypeException
   Inherits SystemException
public class InvalidOleVariantTypeException : SystemException
public __gc class InvalidOleVariantTypeException : public
class InvalidOleVariantTypeException 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.


InvalidOLEVariantTypeException uses the HRESULT COR_E_INVALIDOLEVARIANTTYPE which has the value 0x80131531.


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

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

© 2015 Microsoft