Partager via


InvalidParameterNameException Constructor (String, String, Exception)

Initializes a new instance of the InvalidParameterNameException class.

Namespace:  Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    name As String, _
    innerException As Exception _
)
public InvalidParameterNameException(
    string message,
    string name,
    Exception innerException
)
public:
InvalidParameterNameException(
    String^ message, 
    String^ name, 
    Exception^ innerException
)
new : 
        message:string * 
        name:string * 
        innerException:Exception -> InvalidParameterNameException
public function InvalidParameterNameException(
    message : String, 
    name : String, 
    innerException : Exception
)

Parameters

  • message
    Type: String

    The error message.

  • name
    Type: String

    The parameter name.

  • innerException
    Type: Exception

    The original exception that caused the current exception.

.NET Framework Security

See Also

Reference

InvalidParameterNameException Class

InvalidParameterNameException Overload

Microsoft.TeamFoundation.TestManagement.Client Namespace