Name

MarshalDirectiveException

Synopsis

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);
}

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException MarshalDirectiveException

Get C# in a Nutshell, Second Edition 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.