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 发布服务器上执行其他操作。

构造函数

OciException()

创建 OciException 类的新实例。

OciException(SerializationInfo, StreamingContext)

使用序列化的数据创建 OciException 类的新实例。

OciException(String)

使用指定的错误消息创建 OciException 类的新实例。

OciException(String, Exception)

使用指定的错误消息和对导致此异常的内部异常的引用创建 OciException 类的新实例。

属性

MessageCode

获取基础错误的错误代码。

(继承自 ReplicationAgentException)

方法

GetObjectData(SerializationInfo, StreamingContext)

使用有关异常的信息设置指定的 SerializationInfo

(继承自 ReplicationAgentException)

适用于