Version

InvalidEnumArgumentException Constructor(String,String)

Initializes a new instance of the System.ArgumentException class with a specified error message and the name of the parameter that causes this exception.
Syntax
public InvalidEnumArgumentException( 
   string message,
   string paramName
)

Parameters

message
The error message that explains the reason for the exception.
paramName
The name of the parameter that caused the current exception.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also