AmbiguousMatchException Constructor (String)

 

Initializes a new instance of the AmbiguousMatchException class with its message string set to the given message and the root cause exception set to null.

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

public AmbiguousMatchException(
	string message
)

Parameters

message
Type: System.String

A string indicating the reason this exception was thrown.

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

Property

Value

InnerException

null

Message

The message string.

Universal Windows Platform
Available since 8
.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show: