Mono Class Library: System.Reflection Namespace

System.Reflection.AmbiguousMatchException Class

Represents the error that occurs when binding to a method or retrieving custom attributes results in more than one item matching the specified criteria. [Edit]

See Also: AmbiguousMatchException Members

System.Object
     System.Exception
          System.SystemException
               System.Reflection.AmbiguousMatchException

[System.Runtime.InteropServices.ComVisible(true)]
public sealed class AmbiguousMatchException : SystemException

Thread Safety

All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.

Remarks

System.Reflection.AmbiguousMatchException is thrown when a search that is intended to return no more than one match, detects multiple matching items. For example, this exception is thrown when the Attribute.GetCustomAttribute(MemberInfo, Type) methods (which return a single custom attribute), find multiple occurrences of the attribute. [Edit]

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0