Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ComErrorException Class

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)
[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 Exception.Source.)
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 Exception.GetObjectData(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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.