語言

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
屬性

建構函式

名稱 Description
ParameterValueOutOfRangeException()

使用預設值初始化該類別的新實例 ParameterValueOutOfRangeException

ParameterValueOutOfRangeException(SerializationInfo, StreamingContext)

當給定資訊與上下文參數時,初始化該類別的新 ParameterValueOutOfRangeException 實例。

ParameterValueOutOfRangeException(String, Exception)

當給定訊息與內部例外參數時,初始化該類別的新 ParameterValueOutOfRangeException 實例。

ParameterValueOutOfRangeException(String)

當給定訊息參數時,初始化該類別的新 ParameterValueOutOfRangeException 實例。

屬性

名稱 Description
MessageCode

取得底層錯誤的錯誤代碼。

(繼承來源 ReplicationAgentException)

方法

名稱 Description
GetObjectData(SerializationInfo, StreamingContext)

設定 所指定的 SerializationInfo 並附有例外的資訊。

(繼承來源 ReplicationAgentException)

適用於