Export (0) Print
Expand All

ConnectionFailureException Class

Topic Status: Some information in this topic is pre-release and subject to change in future releases. Pre-release information describes new features or changes to existing features in Microsoft SQL Server 2014.

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

Object
  Exception
    Microsoft.SqlServer.Replication.ReplicationAgentException
      Microsoft.SqlServer.Replication.ConnectionFailureException

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

[SerializableAttribute]
[ComVisibleAttribute(false)]
public class ConnectionFailureException : ReplicationAgentException

The ConnectionFailureException type exposes the following members.

  NameDescription
Public methodConnectionFailureException()Initializes a new instance of the ConnectionFailureException class.
Public methodConnectionFailureException(String)Initializes a new instance of the ConnectionFailureException class with a specified error message.
Protected methodConnectionFailureException(SerializationInfo, StreamingContext)Initializes a new instance of the ConnectionFailureException class with serialized data.
Public methodConnectionFailureException(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.
Top

  NameDescription
Public propertyData (Inherited from Exception.)
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyMessage (Inherited from Exception.)
Public propertyMessageCodeGets the error code of the underlying error. (Inherited from ReplicationAgentException.)
Public propertySource (Inherited from Exception.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSets the specified SerializationInfo with information about the exception. (Inherited from ReplicationAgentException.)
Public methodGetType (Inherited from Exception.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Exception.)
Top

  NameDescription
Protected eventSerializeObjectState (Inherited from Exception.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

Show:
© 2014 Microsoft