ConnectionFailureException ConnectionFailureException ConnectionFailureException ConnectionFailureException Class

Definition

The exception that is thrown when a database connection fails when a replication agent is running.

public ref class ConnectionFailureException : Microsoft::SqlServer::Replication::ReplicationAgentException
[System.Runtime.InteropServices.ComVisible(false)]
public class ConnectionFailureException : Microsoft.SqlServer.Replication.ReplicationAgentException
type ConnectionFailureException = class
    inherit ReplicationAgentException
Public Class ConnectionFailureException
Inherits ReplicationAgentException
Inheritance
ConnectionFailureExceptionConnectionFailureExceptionConnectionFailureExceptionConnectionFailureException
Attributes

Constructors

ConnectionFailureException() ConnectionFailureException() ConnectionFailureException() ConnectionFailureException()

Initializes a new instance of the ConnectionFailureException class.

ConnectionFailureException(SerializationInfo, StreamingContext) ConnectionFailureException(SerializationInfo, StreamingContext) ConnectionFailureException(SerializationInfo, StreamingContext) ConnectionFailureException(SerializationInfo, StreamingContext)

Initializes a new instance of the ConnectionFailureException class with serialized data.

ConnectionFailureException(String) ConnectionFailureException(String) ConnectionFailureException(String) ConnectionFailureException(String)

Initializes a new instance of the ConnectionFailureException class with a specified error message.

ConnectionFailureException(String, Exception) ConnectionFailureException(String, Exception) ConnectionFailureException(String, Exception) 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.

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.

(Inherited from ReplicationAgentException)

Properties

MessageCode MessageCode MessageCode MessageCode

Gets the error code of the underlying error.

(Inherited from ReplicationAgentException)

Applies to