语言

OciException 类

定义

当Oracle Call Interface(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执行其他操作。

构造函数

名称 说明
OciException()

创建类的新实例 OciException 。

OciException(SerializationInfo, StreamingContext)

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

OciException(String, Exception)

使用指定的错误消息创建类的新实例 OciException ,以及对此异常原因的内部异常的引用。

OciException(String)

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

属性

名称 说明
MessageCode

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

(继承自 ReplicationAgentException)

方法

名称 说明
GetObjectData(SerializationInfo, StreamingContext)

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

(继承自 ReplicationAgentException)

适用于