Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The exception that is thrown when a general error is raised by a replication agent.
Inheritance Hierarchy
System.Object
System.Exception
System.SystemException
System.Runtime.InteropServices.ExternalException
System.Runtime.InteropServices.COMException
Microsoft.SqlServer.Replication.ComErrorException
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public NotInheritable Class ComErrorException _
Inherits COMException
'Usage
Dim instance As ComErrorException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public sealed class ComErrorException : COMException
[SerializableAttribute]
[ComVisibleAttribute(false)]
public ref class ComErrorException sealed : public COMException
[<SealedAttribute>]
[<SerializableAttribute>]
[<ComVisibleAttribute(false)>]
type ComErrorException =
class
inherit COMException
end
public final class ComErrorException extends COMException
The ComErrorException type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
ComErrorException() | 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. |
![]() |
ComErrorException(Int32, String, Int32, String, String, Guid, String) | Initializes a new instance of the ComErrorException class. |
Top
Properties
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.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
GetBaseException | (Inherited from Exception.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | Sets the specified SerializationInfo with information about the exception. (Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType | (Inherited from Exception.) |
![]() |
ToString | (Inherited from COMException.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.