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.

Object
  Exception
    SystemException
      ExternalException
        COMException
          Microsoft.SqlServer.Replication.ComErrorException

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

[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ComErrorException : COMException

The ComErrorException type exposes the following members.

  NameDescription
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.
Top

  NameDescription
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.)
Top

  NameDescription
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.)
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