System.Reflection.CustomAttributeFormatException Class

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

See Also: CustomAttributeFormatException Members

Syntax

[System.Runtime.InteropServices.ComVisible(true)]
public class CustomAttributeFormatException : FormatException

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
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0