語言

OciException 類別

定義

當 Oracle 呼叫介面(OCI)提出錯誤時拋出的例外。

public ref class OciException : Microsoft::SqlServer::Replication::ReplicationAgentException
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public class OciException : Microsoft.SqlServer.Replication.ReplicationAgentException
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type OciException = class
    inherit ReplicationAgentException
Public Class OciException
Inherits ReplicationAgentException
繼承
屬性

備註

OCI 用於產生初始快照檔案及在 Oracle Publisher 執行其他操作。

建構函式

名稱 Description
OciException()

建立 OciException 類別的新實例。

OciException(SerializationInfo, StreamingContext)

建立一個帶有序列化資料的新 OciException 類別實例。

OciException(String, Exception)

建立一個新的類別實例 OciException ,並附上指定的錯誤訊息及對導致該異常的內部例外的參考。

OciException(String)

建立一個新的類別實例 OciException ,並指定錯誤訊息。

屬性

名稱 Description
MessageCode

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

(繼承來源 ReplicationAgentException)

方法

名稱 Description
GetObjectData(SerializationInfo, StreamingContext)

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

(繼承來源 ReplicationAgentException)

適用於