ConnectionFailureException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)]
[System.Serializable]
public class ConnectionFailureException : Microsoft.SqlServer.Replication.ReplicationAgentException
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type ConnectionFailureException = class
inherit ReplicationAgentException
Public Class ConnectionFailureException
Inherits ReplicationAgentException
- Inheritance
- Attributes
Constructors
ConnectionFailureException() |
Initializes a new instance of the ConnectionFailureException class. |
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. |
ConnectionFailureException(String) |
Initializes a new instance of the ConnectionFailureException class with a specified error message. |
Properties
MessageCode |
Gets the error code of the underlying error. (Inherited from ReplicationAgentException) |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the specified SerializationInfo with information about the exception. (Inherited from ReplicationAgentException) |