Name

InvalidOleVariantTypeException

Synopsis

This exception signals that the marshaler failed in an attempt to marshal a variant to managed code.

public class InvalidOleVariantTypeException : SystemException {
// Public Constructors
   public method InvalidOleVariantTypeException();  
   public method InvalidOleVariantTypeException(
        string message);  
   public method InvalidOleVariantTypeException(
        string message, Exception inner);  
// Protected Constructors
   protected method InvalidOleVariantTypeException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

System.ObjectSystem.Exception(System.Runtime.Serialization.ISerializable)System.SystemExceptionInvalidOleVariantTypeException

Get C# in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.