InvalidEnumArgumentException Constructor (String, Exception)

InvalidEnumArgumentException Constructor (String, Exception)

 

Initializes a new instance of the InvalidEnumArgumentException class with the specified detailed description and the specified exception.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public InvalidEnumArgumentException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A detailed description of the error.

innerException
Type: System.Exception

A reference to the inner exception that is the cause of this exception.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Return to top
Show:
© 2016 Microsoft