Clase ConnectionFailureException
The exception that is thrown when a database connection fails when a replication agent is running.
Jerarquía de herencia
System.Object
System.Exception
Microsoft.SqlServer.Replication.ReplicationAgentException
Microsoft.SqlServer.Replication.ConnectionFailureException
Espacio de nombres: Microsoft.SqlServer.Replication
Ensamblado: Microsoft.SqlServer.Replication (en Microsoft.SqlServer.Replication.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class ConnectionFailureException _
Inherits ReplicationAgentException
'Uso
Dim instance As ConnectionFailureException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public class ConnectionFailureException : ReplicationAgentException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ConnectionFailureException : public ReplicationAgentException
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ConnectionFailureException =
class
inherit ReplicationAgentException
end
public class ConnectionFailureException extends ReplicationAgentException
El tipo ConnectionFailureException expone los siguientes miembros.
Constructores
Nombre | Descripción | |
---|---|---|
ConnectionFailureException() | Initializes a new instance of the ConnectionFailureException class. | |
ConnectionFailureException(String) | Initializes a new instance of the ConnectionFailureException class with a specified error message. | |
ConnectionFailureException(SerializationInfo, StreamingContext) | Initializes a new instance of the ConnectionFailureException class with serialized data. | |
ConnectionFailureException(String, Exception) | Initializes a new instance of the ConnectionFailureException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
Arriba
Propiedades
Nombre | Descripción | |
---|---|---|
Data | (Se hereda de Exception.) | |
HelpLink | (Se hereda de Exception.) | |
HResult | (Se hereda de Exception.) | |
InnerException | (Se hereda de Exception.) | |
Message | (Se hereda de Exception.) | |
MessageCode | Gets the error code of the underlying error. (Se hereda de ReplicationAgentException.) | |
Source | (Se hereda de Exception.) | |
StackTrace | (Se hereda de Exception.) | |
TargetSite | (Se hereda de Exception.) |
Arriba
Métodos
Nombre | Descripción | |
---|---|---|
Equals | (Se hereda de Object.) | |
Finalize | (Se hereda de Object.) | |
GetBaseException | (Se hereda de Exception.) | |
GetHashCode | (Se hereda de Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Se hereda de ReplicationAgentException.) | |
GetType | (Se hereda de Exception.) | |
MemberwiseClone | (Se hereda de Object.) | |
ToString | (Se hereda de Exception.) |
Arriba
Eventos
Nombre | Descripción | |
---|---|---|
SerializeObjectState | (Se hereda de Exception.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.