Share via


ParameterValueOutOfRangeException Constructor (String, Exception)

Initializes a new instance of the ParameterValueOutOfRangeException class when given message and inner exception parameters.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception

Dim instance As New ParameterValueOutOfRangeException(message, _
    innerException)
public ParameterValueOutOfRangeException(
    string message,
    Exception innerException
)
public:
ParameterValueOutOfRangeException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> ParameterValueOutOfRangeException
public function ParameterValueOutOfRangeException(
    message : String, 
    innerException : Exception
)

Parameters

  • innerException
    Type: System.Exception
    A wrapped exception from an external component.