Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ComErrorException 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 general error is raised by a replication agent.


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

public sealed class ComErrorException : COMException

The ComErrorException type exposes the following members.

Public methodComErrorException()Initializes a new instance of the ComErrorException class.
Public methodComErrorException(String)Initializes a new instance of the ComErrorException class with a specified error message.
Public methodComErrorException(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.
Public methodComErrorException(Int32, String, Int32, String, String, Guid, String)Initializes a new instance of the ComErrorException class.

Public propertyComHResultGets the error code (HRESULT) value associated with this exception.
Public propertyData (Inherited from Exception.)
Public propertyDescriptionGets a description of the error.
Public propertyErrorCode (Inherited from ExternalException.)
Public propertyErrorMessageGets the error message string.
Public propertyHelpContextGets the context of a topic in a Help file.
Public propertyHelpFileGets the fully qualified path to a Help file.
Public propertyHelpLink (Inherited from Exception.)
Public propertyHResult (Inherited from Exception.)
Public propertyInnerException (Inherited from Exception.)
Public propertyInterfaceIdGets the identifier of the COM interface that is the source of the error.
Public propertyMessage (Inherited from Exception.)
Public propertySourceGets the name of the object or application that is the source of the error. (Overrides ExceptionSource.)
Public propertyStackTrace (Inherited from Exception.)
Public propertyTargetSite (Inherited from Exception.)

Public methodEquals (Inherited from Object.)
Public methodGetBaseException (Inherited from Exception.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetObjectDataSets the specified SerializationInfo with information about the exception. (Overrides ExceptionGetObjectData(SerializationInfo, StreamingContext).)
Public methodGetType (Inherited from Exception.)
Public methodToString (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.

Community Additions

© 2015 Microsoft