ParameterValueOutOfRangeException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ParameterValueOutOfRangeException class.
Overloads
ParameterValueOutOfRangeException() |
Initializes a new instance of the ParameterValueOutOfRangeException class by using default values. |
ParameterValueOutOfRangeException(String) |
Initializes a new instance of the ParameterValueOutOfRangeException class when given a message parameter. |
ParameterValueOutOfRangeException(SerializationInfo, StreamingContext) |
Initializes a new instance of the ParameterValueOutOfRangeException class when given information and context parameters. |
ParameterValueOutOfRangeException(String, Exception) |
Initializes a new instance of the ParameterValueOutOfRangeException class when given message and inner exception parameters. |
ParameterValueOutOfRangeException()
Initializes a new instance of the ParameterValueOutOfRangeException class by using default values.
public:
ParameterValueOutOfRangeException();
public ParameterValueOutOfRangeException ();
Public Sub New ()
Applies to
ParameterValueOutOfRangeException(String)
Initializes a new instance of the ParameterValueOutOfRangeException class when given a message parameter.
public:
ParameterValueOutOfRangeException(System::String ^ message);
public ParameterValueOutOfRangeException (string message);
new Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException : string -> Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException
Public Sub New (message As String)
Parameters
- message
- String
A description of the error.
Applies to
ParameterValueOutOfRangeException(SerializationInfo, StreamingContext)
Initializes a new instance of the ParameterValueOutOfRangeException class when given information and context parameters.
protected:
ParameterValueOutOfRangeException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ParameterValueOutOfRangeException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The SerializationInfo object to populate with data.
- context
- StreamingContext
The destination (see StreamingContext) for this serialization.
Applies to
ParameterValueOutOfRangeException(String, Exception)
Initializes a new instance of the ParameterValueOutOfRangeException class when given message and inner exception parameters.
public:
ParameterValueOutOfRangeException(System::String ^ message, Exception ^ innerException);
public ParameterValueOutOfRangeException (string message, Exception innerException);
new Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException : string * Exception -> Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
A description of the error.
- innerException
- Exception
A wrapped exception from an external component.