Export (0) Print
Expand All

TargetParameterCountException Constructor

.NET Framework 1.1

Initializes a new instance of the TargetParameterCountException class.

Overload List

Initializes a new instance of the TargetParameterCountException class with an empty message string and the root cause of the exception.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public TargetParameterCountException();
[C++] public: TargetParameterCountException();
[JScript] public function TargetParameterCountException();

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

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String)
[C#] public TargetParameterCountException(string);
[C++] public: TargetParameterCountException(String*);
[JScript] public function TargetParameterCountException(String);

Initializes a new instance of the TargetParameterCountException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(String, Exception)
[C#] public TargetParameterCountException(string, Exception);
[C++] public: TargetParameterCountException(String*, Exception*);
[JScript] public function TargetParameterCountException(String, Exception);

See Also

TargetParameterCountException Class | TargetParameterCountException Members | System.Reflection Namespace

Show:
© 2014 Microsoft