OciException 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当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) |