共用方式為


OciException Class

Definition

The exception that is thrown when an error is raised by the 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
Inheritance
Attributes

Remarks

OCI is used when generating initial snapshot files and to perform other operations at an Oracle Publisher.

Constructors

OciException()

Creates a new instance of the OciException class.

OciException(SerializationInfo, StreamingContext)

Creates a new instance of the OciException class with serialized data.

OciException(String, Exception)

Creates a new instance of the OciException class with a specified error message and a reference to the inner exception that is the cause of this exception.

OciException(String)

Creates a new instance of the OciException class with a specified error message.

Properties

MessageCode

Gets the error code of the underlying error.

(Inherited from ReplicationAgentException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.

(Inherited from ReplicationAgentException)

Applies to