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

 

Applies To: SQL Server 2016 Preview

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)

System.Object
  System.Exception
    System.SystemException
      System.Runtime.InteropServices.ExternalException
        System.Runtime.InteropServices.COMException
          Microsoft.SqlServer.Replication.ComErrorException

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

NameDescription
System_CAPS_pubmethodComErrorException()

Initializes a new instance of the ComErrorException class.

System_CAPS_pubmethodComErrorException(Int32, String, Int32, String, String, Guid, String)

Initializes a new instance of the ComErrorException class.

System_CAPS_pubmethodComErrorException(String)

Initializes a new instance of the ComErrorException class with a specified error message.

System_CAPS_pubmethodComErrorException(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.

NameDescription
System_CAPS_pubpropertyComHResult

Gets the error code (HRESULT) value associated with this exception.

System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyDescription

Gets a description of the error.

System_CAPS_pubpropertyErrorCode

(Inherited from ExternalException.)

System_CAPS_pubpropertyErrorMessage

Gets the error message string.

System_CAPS_pubpropertyHelpContext

Gets the context of a topic in a Help file.

System_CAPS_pubpropertyHelpFile

Gets the fully qualified path to a Help file.

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyInterfaceId

Gets the identifier of the COM interface that is the source of the error.

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

Gets the name of the object or application that is the source of the error.(Overrides Exception.Source.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

Sets the specified SerializationInfo with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_pubmethodToString()

(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.

Return to top

Community Additions

Show:
© 2015 Microsoft