Classe ConnectionFailureException
The exception that is thrown when a database connection fails when a replication agent is running.
Hierarquia de herança
System. . :: . .Object
System. . :: . .Exception
Microsoft.SqlServer.Replication. . :: . .ReplicationAgentException
Microsoft.SqlServer.Replication..::..ConnectionFailureException
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)
Sintaxe
'Declaração
<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
O tipo ConnectionFailureException expõe os membros a seguir.
Construtores
Nome | Descrição | |
---|---|---|
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. |
Início
Propriedades
Nome | Descrição | |
---|---|---|
Data | (Herdado de Exception.) | |
HelpLink | (Herdado de Exception.) | |
HResult | (Herdado de Exception.) | |
InnerException | (Herdado de Exception.) | |
Message | (Herdado de Exception.) | |
MessageCode | Gets the error code of the underlying error. (Herdado de ReplicationAgentException.) | |
Source | (Herdado de Exception.) | |
StackTrace | (Herdado de Exception.) | |
TargetSite | (Herdado de Exception.) |
Início
Métodos
Nome | Descrição | |
---|---|---|
Equals | (Herdado de Object.) | |
Finalize | (Herdado de Object.) | |
GetBaseException | (Herdado de Exception.) | |
GetHashCode | (Herdado de Object.) | |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Herdado de ReplicationAgentException.) | |
GetType | (Herdado de Exception.) | |
MemberwiseClone | (Herdado de Object.) | |
ToString | (Herdado de Exception.) |
Início
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.