This exception is thrown when the marshaler encounters an unsupported MarshalAsAttribute . public class MarshalDirectiveException : SystemException { // Public Constructors public MarshalDirectiveException ( ); public MarshalDirectiveException (string message ); public MarshalDirectiveException (string message , Exception inner ); // Protected Constructors protected MarshalDirectiveException (System.Runtime.Serialization.SerializationInfo info , System.Runtime.Serialization.StreamingContext context ); } HierarchySystem.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException MarshalDirectiveException |