System.Runtime.InteropServices.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.

See Also: InvalidOleVariantTypeException Members

Syntax

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

Remarks

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

Requirements

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