ComErrorException Class
The exception that is thrown when a general error is raised by a replication agent.
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
System::Exception
System::SystemException
System.Runtime.InteropServices::ExternalException
System.Runtime.InteropServices::COMException
Microsoft.SqlServer.Replication::ComErrorException
| Name | Description | |
|---|---|---|
![]() | ComErrorException() | Initializes a new instance of the ComErrorException class. |
![]() | ComErrorException(Int32, String^, Int32, String^, String^, Guid, String^) | Initializes a new instance of the ComErrorException class. |
![]() | ComErrorException(String^) | Initializes a new instance of the ComErrorException class with a specified error message. |
![]() | ComErrorException(String^, Exception^) | Initializes a new instance of the ComErrorException class with a specified error message and a reference to the inner exception that is the cause of this exception. |
| Name | Description | |
|---|---|---|
![]() | ComHResult | Gets the error code (HRESULT) value associated with this exception. |
![]() | Data | (Inherited from Exception.) |
![]() | Description | Gets a description of the error. |
![]() | ErrorCode | (Inherited from ExternalException.) |
![]() | ErrorMessage | Gets the error message string. |
![]() | HelpContext | Gets the context of a topic in a Help file. |
![]() | HelpFile | Gets the fully qualified path to a Help file. |
![]() | HelpLink | (Inherited from Exception.) |
![]() | HResult | (Inherited from Exception.) |
![]() | InnerException | (Inherited from Exception.) |
![]() | InterfaceId | Gets the identifier of the COM interface that is the source of the error. |
![]() | Message | (Inherited from Exception.) |
![]() | Source | Gets the name of the object or application that is the source of the error.(Overrides Exception::Source.) |
![]() | StackTrace | (Inherited from Exception.) |
![]() | TargetSite | (Inherited from Exception.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | Sets the specified SerializationInfo with information about the exception.(Overrides Exception::GetObjectData(SerializationInfo^, StreamingContext).) |
![]() | GetType() | (Inherited from Exception.) |
![]() | ToString() | (Inherited from COMException.) |
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

