Name

CustomAttributeFormatException

Synopsis

This exception is thrown when the binary format of an attribute of a type cannot be read. This can occur when custom attributes and types are created at runtime.

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

Hierarchy

System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException System.FormatException CustomAttributeFormatException

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.