Name

MarshalDirectiveException

Synopsis

This exception is thrown when the marshaler encounters an unsupported MarshalAsAttribute.

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

Hierarchy

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

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.