Export (0) Print
Expand All

CustomAttributeFormatException Class

The exception that is thrown when the binary format of a custom attribute is invalid.

For a list of all members of this type, see CustomAttributeFormatException Members.

System.Object
   System.Exception
      System.SystemException
         System.FormatException
            System.Reflection.CustomAttributeFormatException

[Visual Basic]
<Serializable>
Public Class CustomAttributeFormatException
   Inherits FormatException
[C#]
[Serializable]
public class CustomAttributeFormatException : FormatException
[C++]
[Serializable]
public __gc class CustomAttributeFormatException : public
   FormatException
[JScript]
public
   Serializable
class CustomAttributeFormatException extends FormatException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

CustomAttributeFormatException uses the HRESULT COR_E_FORMAT which has the value 0x80131537.

CustomAttributeFormatException is thrown if a custom attribute on a data type is formatted incorrectly, possibly because of a bug in the tool used to create the data type.

Requirements

Namespace: System.Reflection

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: Mscorlib (in Mscorlib.dll)

See Also

CustomAttributeFormatException Members | System.Reflection Namespace | Exception | FormatException | Handling and Throwing Exceptions

Show:
© 2014 Microsoft