语言

ParameterValueOutOfRangeException 类

定义

如果传递给参数的值超出该参数数据类型的范围,则抛出的异常。

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
继承
ParameterValueOutOfRangeException
属性

构造函数

名称 说明
ParameterValueOutOfRangeException()

通过使用默认值初始化该类的新 ParameterValueOutOfRangeException 实例。

ParameterValueOutOfRangeException(SerializationInfo, StreamingContext)

在给定信息和上下文参数时,初始化该类的新 ParameterValueOutOfRangeException 实例。

ParameterValueOutOfRangeException(String, Exception)

在给定消息和内部异常参数时,初始化该类的新 ParameterValueOutOfRangeException 实例。

ParameterValueOutOfRangeException(String)

当获得消息参数时,初始化该类的新 ParameterValueOutOfRangeException 实例。

属性

名称 说明
MessageCode

获取底层错误的错误代码。

(继承自 ReplicationAgentException)

方法

名称 说明
GetObjectData(SerializationInfo, StreamingContext)

设置指定 SerializationInfo 值并附带关于例外的信息。

(继承自 ReplicationAgentException)

适用于