Dela via


ReplicationAgentContainerWithWatsonException Class

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Represents the exception that is thrown when one or more errors are generated by a managed code-based replication agent using Watson.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SqlServer.Replication.ReplicationAgentException
      Microsoft.SqlServer.Replication.ReplicationAgentContainerException
        Microsoft.SqlServer.Replication.ReplicationAgentContainerWithWatsonException

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

Syntax

'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ReplicationAgentContainerWithWatsonException _
    Inherits ReplicationAgentContainerException
'Usage
Dim instance As ReplicationAgentContainerWithWatsonException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ReplicationAgentContainerWithWatsonException : ReplicationAgentContainerException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ReplicationAgentContainerWithWatsonException sealed : public ReplicationAgentContainerException
[<SealedAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ReplicationAgentContainerWithWatsonException =  
    class 
        inherit ReplicationAgentContainerException 
    end
public final class ReplicationAgentContainerWithWatsonException extends ReplicationAgentContainerException

The ReplicationAgentContainerWithWatsonException type exposes the following members.

Constructors

  Name Description
Public method ReplicationAgentContainerWithWatsonException() Initializes a new instance of the ReplicationAgentContainerWithWatsonException class.
Public method ReplicationAgentContainerWithWatsonException(String) Initializes a new instance of the ReplicationAgentContainerWithWatsonException class with specified message.
Public method ReplicationAgentContainerWithWatsonException(String, Exception) Initializes a new instance of the ReplicationAgentContainerWithWatsonException class with specified message and inner exception.

Top

Properties

  Name Description
Public property Data (Inherited from Exception.)
Public property ExceptionCollection Gets the collection of exception objects returned by the replication agent. (Inherited from ReplicationAgentContainerException.)
Public property FlatExceptionCollection Gets the collection of exception objects accessed using the IEnumerable interface. (Inherited from ReplicationAgentContainerException.)
Public property HelpLink (Inherited from Exception.)
Public property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message (Inherited from Exception.)
Public property MessageCode Gets the error code of the underlying error. (Inherited from ReplicationAgentException.)
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData Sets the specified SerializationInfo with information about the exception. (Inherited from ReplicationAgentContainerException.)
Public method GetType (Inherited from Exception.)
Public method ToString (Inherited from Exception.)

Top

Thread Safety

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

See Also

Reference

Microsoft.SqlServer.Replication Namespace