Bridge

ArgumentException Constructor (String, String)

Initializes a new instance of the ArgumentException class with a specified error message and the name of the parameter that causes this exception.

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

Syntax


public ArgumentException(
	string message,
	string paramName
)
Public Sub New ( _
	message As String, _
	paramName As String _
)
public:
ArgumentException(
	String^ message, 
	String^ paramName
)

Parameters

message
Type: System..::..String
The error message that explains the reason for the exception.
paramName
Type: System..::..String
The name of the parameter that caused the current exception.