Freigeben über


ReplicationAgentException-Klasse

The base exception class for exceptions generated during replication agent execution.

Vererbungshierarchie

System.Object
  System.Exception
    Microsoft.SqlServer.Replication.ReplicationAgentException
      Microsoft.SqlServer.Replication.ConnectionFailureException
      Microsoft.SqlServer.Replication.FciException
      Microsoft.SqlServer.Replication.NativeSqlConnectionException
      Microsoft.SqlServer.Replication.OciException
      Microsoft.SqlServer.Replication.OSException
      Microsoft.SqlServer.Replication.ParameterValueOutOfRangeException
      Microsoft.SqlServer.Replication.PasswordWriteOnlyException
      Microsoft.SqlServer.Replication.ReplicationAgentContainerException

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ReplicationAgentException _
    Inherits Exception
'Usage
Dim instance As ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class ReplicationAgentException : Exception
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReplicationAgentException : public Exception
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReplicationAgentException =  
    class 
        inherit Exception 
    end
public class ReplicationAgentException extends Exception

Der ReplicationAgentException-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode ReplicationAgentException() Creates a new instance of the ReplicationAgentException class.
Öffentliche Methode ReplicationAgentException(String) Creates a new instance of the ReplicationAgentException class with a specified error message.
Geschützte Methode ReplicationAgentException(SerializationInfo, StreamingContext) Creates a new instance of the ReplicationAgentException class with serialized data.
Öffentliche Methode ReplicationAgentException(String, Exception) Creates a new instance of the ReplicationAgentException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Zum Anfang

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft Data (Geerbt von Exception.)
Öffentliche Eigenschaft HelpLink (Geerbt von Exception.)
Öffentliche Eigenschaft HResult (Geerbt von Exception.)
Öffentliche Eigenschaft InnerException (Geerbt von Exception.)
Öffentliche Eigenschaft Message (Geerbt von Exception.)
Öffentliche Eigenschaft MessageCode Gets the error code of the underlying error.
Öffentliche Eigenschaft Source (Geerbt von Exception.)
Öffentliche Eigenschaft StackTrace (Geerbt von Exception.)
Öffentliche Eigenschaft TargetSite (Geerbt von Exception.)

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetBaseException (Geerbt von Exception.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetObjectData Sets the specified SerializationInfo with information about the exception. (Überschreibt Exception.GetObjectData(SerializationInfo, StreamingContext).)
Öffentliche Methode GetType (Geerbt von Exception.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Exception.)

Zum Anfang

Ereignisse

  Name Beschreibung
Geschütztes Ereignis SerializeObjectState (Geerbt von Exception.)

Zum Anfang

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Replication-Namespace