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 method CustomAttributeFormatException();  
   public method CustomAttributeFormatException(
        string message);  
   public method CustomAttributeFormatException(
        string message, Exception inner);  
// Protected Constructors
   protected method CustomAttributeFormatException(
        System.Runtime.Serialization.SerializationInfo info, 
        System.Runtime.Serialization.StreamingContext context);  
}

Hierarchy

System.ObjectSystem.Exception(System.Runtime.Serialization.ISerializable)System.SystemExceptionSystem.FormatExceptionCustomAttributeFormatException

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.