AmbiguousMatchException Constructor

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the AmbiguousMatchException class with an empty message string and the root cause exception set to nullNothingnullptra null reference (Nothing in Visual Basic).

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)

Syntax

Public Sub New
public AmbiguousMatchException()

Remarks

AmbiguousMatchException inherits from Exception. This constructor sets the properties of the Exception object as shown in the following table.

Property

Value

InnerException

A null reference (Nothing in Visual Basic).

Message

The empty string ("").

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

AmbiguousMatchException Class

AmbiguousMatchException Overload

System.Reflection Namespace

Exception

SystemException