Partager via


Classe ParameterValueOutOfRangeException

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

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.Replication.ReplicationAgentException
      Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ParameterValueOutOfRangeException _
    Inherits ReplicationAgentException
'Utilisation
Dim instance As ParameterValueOutOfRangeException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class ParameterValueOutOfRangeException : ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ParameterValueOutOfRangeException : public ReplicationAgentException
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ParameterValueOutOfRangeException =  
    class 
        inherit ReplicationAgentException 
    end
public class ParameterValueOutOfRangeException extends ReplicationAgentException

Le type ParameterValueOutOfRangeException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ParameterValueOutOfRangeException() Initializes a new instance of the ParameterValueOutOfRangeException class by using default values.
Méthode publique ParameterValueOutOfRangeException(String) Initializes a new instance of the ParameterValueOutOfRangeException class when given a message parameter.
Méthode protégée ParameterValueOutOfRangeException(SerializationInfo, StreamingContext) Initializes a new instance of the ParameterValueOutOfRangeException class when given information and context parameters.
Méthode publique ParameterValueOutOfRangeException(String, Exception) Initializes a new instance of the ParameterValueOutOfRangeException class when given message and inner exception parameters.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink (hérité de Exception.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique MessageCode Gets the error code of the underlying error. (hérité de ReplicationAgentException.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Sets the specified SerializationInfo with information about the exception. (hérité de ReplicationAgentException.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Événements

  Nom Description
Événement protégé SerializeObjectState (hérité de Exception.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Replication