Partager via


Classe OciException

The exception that is thrown when an error is raised by the Oracle Call Interface (OCI).

Hiérarchie d'héritage

System.Object
  System.Exception
    Microsoft.SqlServer.Replication.ReplicationAgentException
      Microsoft.SqlServer.Replication.OciException

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class OciException _
    Inherits ReplicationAgentException
'Utilisation
Dim instance As OciException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class OciException : ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class OciException : public ReplicationAgentException
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type OciException =  
    class 
        inherit ReplicationAgentException 
    end
public class OciException extends ReplicationAgentException

Le type OciException expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique OciException() Creates a new instance of the OciException class.
Méthode publique OciException(String) Creates a new instance of the OciException class with a specified error message.
Méthode protégée OciException(SerializationInfo, StreamingContext) Creates a new instance of the OciException class with serialized data.
Méthode publique 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.

Haut de la page

Propriétés

  Nom Description
Propriété publique Data (hérité de Exception.)
Propriété publique HelpLink (hérité de Exception.)
Propriété publique HResult (hérité de Exception.)
Propriété publique InnerException (hérité de Exception.)
Propriété publique Message (hérité de Exception.)
Propriété publique MessageCode Gets the error code of the underlying error. (hérité de ReplicationAgentException.)
Propriété publique Source (hérité de Exception.)
Propriété publique StackTrace (hérité de Exception.)
Propriété publique TargetSite (hérité de Exception.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetBaseException (hérité de Exception.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetObjectData Sets the specified SerializationInfo with information about the exception. (hérité de ReplicationAgentException.)
Méthode publique GetType (hérité de Exception.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Exception.)

Haut de la page

Événements

  Nom Description
Événement protégé SerializeObjectState (hérité de Exception.)

Haut de la page

Notes

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

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Replication