Udostępnij za pośrednictwem


ParameterValueOutOfRangeException Class

Definition

The exception that is thrown if a value passed to a parameter is out of range for the data type of the parameter.

public ref class ParameterValueOutOfRangeException : Microsoft::SqlServer::Replication::ReplicationAgentException
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class ParameterValueOutOfRangeException : Microsoft.SqlServer.Replication.ReplicationAgentException
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type ParameterValueOutOfRangeException = class
    inherit ReplicationAgentException
Public Class ParameterValueOutOfRangeException
Inherits ReplicationAgentException
Inheritance
ParameterValueOutOfRangeException
Attributes

Constructors

ParameterValueOutOfRangeException()

Initializes a new instance of the ParameterValueOutOfRangeException class by using default values.

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(String)

Initializes a new instance of the ParameterValueOutOfRangeException class when given a message parameter.

Properties

MessageCode

Gets the error code of the underlying error.

(Inherited from ReplicationAgentException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.

(Inherited from ReplicationAgentException)

Applies to