Поделиться через


Класс ParameterValueOutOfRangeException

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)

Синтаксис

'Декларация
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ParameterValueOutOfRangeException _
    Inherits ReplicationAgentException
'Применение
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

Тип ParameterValueOutOfRangeException обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод 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.

В начало

Свойства

  Имя Описание
Открытое свойство Data (Производный от Exception.)
Открытое свойство HelpLink (Производный от Exception.)
Защищенное свойство HResult (Производный от Exception.)
Открытое свойство InnerException (Производный от Exception.)
Открытое свойство Message (Производный от Exception.)
Открытое свойство MessageCode Gets the error code of the underlying error. (Производный от ReplicationAgentException.)
Открытое свойство Source (Производный от Exception.)
Открытое свойство StackTrace (Производный от Exception.)
Открытое свойство TargetSite (Производный от Exception.)

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetBaseException (Производный от Exception.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetObjectData Sets the specified SerializationInfo with information about the exception. (Производный от ReplicationAgentException.)
Открытый метод GetType (Производный от Exception.)
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод ToString (Производный от Exception.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.